Created
September 21, 2011 21:03
-
-
Save ry/1233308 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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