diff options
author | cjihrig <cjihrig@gmail.com> | 2018-09-21 10:14:00 -0400 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-09-24 07:14:45 +0200 |
commit | 2790db5e3d74c4f7521cc27a1115228700dd4049 (patch) | |
tree | 14690a4e418d74d387491dc7afcbcde02c62e99b /deps/uv/docs/src/tty.rst | |
parent | ea8000f1195801cf602946c6bd85b8b5dbe83d43 (diff) | |
download | android-node-v8-2790db5e3d74c4f7521cc27a1115228700dd4049.tar.gz android-node-v8-2790db5e3d74c4f7521cc27a1115228700dd4049.tar.bz2 android-node-v8-2790db5e3d74c4f7521cc27a1115228700dd4049.zip |
deps: upgrade to libuv 1.23.1
PR-URL: https://github.com/nodejs/node/pull/22997
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'deps/uv/docs/src/tty.rst')
-rw-r--r-- | deps/uv/docs/src/tty.rst | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/deps/uv/docs/src/tty.rst b/deps/uv/docs/src/tty.rst index 01a0585287..9889a0a0b6 100644 --- a/deps/uv/docs/src/tty.rst +++ b/deps/uv/docs/src/tty.rst @@ -46,7 +46,7 @@ N/A API --- -.. c:function:: int uv_tty_init(uv_loop_t* loop, uv_tty_t* handle, uv_file fd, int readable) +.. c:function:: int uv_tty_init(uv_loop_t* loop, uv_tty_t* handle, uv_file fd, int unused) Initialize a new TTY stream with the given file descriptor. Usually the file descriptor will be: @@ -55,9 +55,6 @@ API * 1 = stdout * 2 = stderr - `readable`, specifies if you plan on calling :c:func:`uv_read_start` with - this stream. stdin is readable, stdout is not. - On Unix this function will determine the path of the fd of the terminal using :man:`ttyname_r(3)`, open it, and use it if the passed file descriptor refers to a TTY. This lets libuv put the tty in non-blocking mode without @@ -67,8 +64,10 @@ API ioctl TIOCGPTN or TIOCPTYGNAME, for instance OpenBSD and Solaris. .. note:: - If reopening the TTY fails, libuv falls back to blocking writes for - non-readable TTY streams. + If reopening the TTY fails, libuv falls back to blocking writes. + + .. versionchanged:: 1.23.1: the `readable` parameter is now unused and ignored. + The correct value will now be auto-detected from the kernel. .. versionchanged:: 1.9.0: the path of the TTY is determined by :man:`ttyname_r(3)`. In earlier versions libuv opened |