aboutsummaryrefslogtreecommitdiff
path: root/deps/uv/docs/src
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-01-05 20:44:25 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-01-05 22:25:20 +0100
commiteaed2a11ecf8d4f8a309f42d6bbc72306c01b755 (patch)
tree59abc7b7d4c1396c5bd60a47f13e694076b5b299 /deps/uv/docs/src
parent94e147500c5bf457c9101bda8c8020d8ff896708 (diff)
downloadandroid-node-v8-eaed2a11ecf8d4f8a309f42d6bbc72306c01b755.tar.gz
android-node-v8-eaed2a11ecf8d4f8a309f42d6bbc72306c01b755.tar.bz2
android-node-v8-eaed2a11ecf8d4f8a309f42d6bbc72306c01b755.zip
deps: update libuv to 1.2.0
PR-URL: https://github.com/iojs/io.js/pull/237 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'deps/uv/docs/src')
-rw-r--r--deps/uv/docs/src/loop.rst2
-rw-r--r--deps/uv/docs/src/misc.rst6
-rw-r--r--deps/uv/docs/src/tty.rst25
3 files changed, 30 insertions, 3 deletions
diff --git a/deps/uv/docs/src/loop.rst b/deps/uv/docs/src/loop.rst
index 0a9e8a6086..d347534bfc 100644
--- a/deps/uv/docs/src/loop.rst
+++ b/deps/uv/docs/src/loop.rst
@@ -52,6 +52,8 @@ API
.. c:function:: int uv_loop_configure(uv_loop_t* loop, uv_loop_option option, ...)
+ .. versionadded:: 1.0.2
+
Set additional loop options. You should normally call this before the
first call to :c:func:`uv_run` unless mentioned otherwise.
diff --git a/deps/uv/docs/src/misc.rst b/deps/uv/docs/src/misc.rst
index 4b810fe084..10c349e9b7 100644
--- a/deps/uv/docs/src/misc.rst
+++ b/deps/uv/docs/src/misc.rst
@@ -2,7 +2,7 @@
.. _misc:
Miscellaneous utilities
-======================
+=======================
This section contains miscellaneous functions that don't really belong in any
other section.
@@ -207,6 +207,10 @@ API
Gets the current working directory.
+ .. versionchanged:: 1.1.0
+
+ On Unix the path no longer ends in a slash.
+
.. c:function:: int uv_chdir(const char* dir)
Changes the current working directory.
diff --git a/deps/uv/docs/src/tty.rst b/deps/uv/docs/src/tty.rst
index 8cb0066320..74b485941c 100644
--- a/deps/uv/docs/src/tty.rst
+++ b/deps/uv/docs/src/tty.rst
@@ -16,6 +16,24 @@ Data types
TTY handle type.
+.. c:type:: uv_tty_mode_t
+
+ .. versionadded:: 1.2.0
+
+ TTY mode type:
+
+ ::
+
+ typedef enum {
+ /* Initial/normal terminal mode */
+ UV_TTY_MODE_NORMAL,
+ /* Raw input mode (On Windows, ENABLE_WINDOW_INPUT is also enabled) */
+ UV_TTY_MODE_RAW,
+ /* Binary-safe I/O mode for IPC (Unix-only) */
+ UV_TTY_MODE_IO
+ } uv_tty_mode_t;
+
+
Public members
^^^^^^^^^^^^^^
@@ -43,9 +61,12 @@ API
.. note::
TTY streams which are not readable have blocking writes.
-.. c:function:: int uv_tty_set_mode(uv_tty_t*, int mode)
+.. c:function:: int uv_tty_set_mode(uv_tty_t*, uv_tty_mode_t mode)
+
+ .. versionchanged:: 1.2.0: the mode is specified as a :c:type:`uv_tty_mode_t`
+ value.
- Set the TTY mode. 0 for normal, 1 for raw.
+ Set the TTY using the specified terminal mode.
.. c:function:: int uv_tty_reset_mode(void)