aboutsummaryrefslogtreecommitdiff
path: root/docs/code/tty/main.c
Commit message (Collapse)AuthorAge
* doc: fix tty example segfault (#4322)hiiizxf2024-02-28
| | | Fixes: https://github.com/libuv/libuv/issues/4303
* stream: autodetect directionJameson Nash2018-09-19
| | | | | | | | | | | | | Previously, we required the user to specify the expected read/write flags for a pipe or tty. But we've already been asking the OS to tell us what they actually are (fcntl F_GETFL), so we can hopefully just use that information directly. Fixes: https://github.com/libuv/libuv/issues/1936 PR-URL: https://github.com/libuv/libuv/pull/1964 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
* doc: add code samples from uvbook (unadapted)Saúl Ibarra Corretgé2017-04-28
PR-URL: https://github.com/libuv/libuv/pull/1246 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>