Searched refs:stdin_watcher (Results 1 – 1 of 1) sorted by relevance
/libuv/docs/code/idle-compute/ |
H A D | main.c | 6 uv_fs_t stdin_watcher; variable 21 if (stdin_watcher.result > 0) { in on_type() 22 buffer[stdin_watcher.result] = '\0'; in on_type() 26 uv_fs_read(loop, &stdin_watcher, 0, &buf, 1, -1, on_type); in on_type() 29 else if (stdin_watcher.result < 0) { in on_type() 40 uv_fs_read(loop, &stdin_watcher, 0, &buf, 1, -1, on_type); in main()
|
Completed in 17 milliseconds