Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Gets the current Window size. The size array is filled with rows and
* columns (in that order) of the terminal.
int uv_tty_get_winsize(uv_tty_t*, int size[2]);
* Convience function is used to detect what type of stream should be used
* with a given file descriptor. Usually this will be used during
* initialization to guess the type of the stdio streams.
* On success returns UV_TTY, UV_NAMED_PIPE, or UV_FILE
* On failure returns -1.
int uv_guess_handle(uv_file file);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.