#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <uv.h>
Go to the source code of this file.
◆ main()
Definition at line 8 of file main.c.
17 buf.base =
"\033[41;37m";
18 buf.len = strlen(
buf.base);
24 buf.base =
"Hello TTY\n";
25 buf.len = strlen(
buf.base);
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec req
UV_EXTERN int uv_write(uv_write_t *req, uv_stream_t *handle, const uv_buf_t bufs[], unsigned int nbufs, uv_write_cb cb)
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
UV_EXTERN int uv_tty_set_mode(uv_tty_t *, uv_tty_mode_t mode)
UV_EXTERN int uv_tty_reset_mode(void)
UV_EXTERN uv_handle_type uv_guess_handle(uv_file file)
UV_EXTERN int uv_tty_init(uv_loop_t *, uv_tty_t *, uv_file fd, int readable)
UV_EXTERN uv_loop_t * uv_default_loop(void)
References loop, NULL, req, STDOUT_FILENO, tty, uv_default_loop(), uv_guess_handle(), uv_run(), UV_RUN_DEFAULT, uv_tty_init(), UV_TTY_MODE_NORMAL, uv_tty_reset_mode(), uv_tty_set_mode(), and uv_write().
◆ loop
Definition at line 6 of file main.c.
◆ tty