aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/fs.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/src/fs.rst b/docs/src/fs.rst
index f383e5b1..fcf70a35 100644
--- a/docs/src/fs.rst
+++ b/docs/src/fs.rst
@@ -403,6 +403,15 @@ Helper functions
.. versionadded:: 1.12.0
+.. c:function:: int uv_open_osfhandle(uv_os_fd_t os_fd)
+
+ For a OS-dependent handle, get the file descriptor in the C runtime.
+ On UNIX, returns the ``os_fd`` intact. On Windows, this calls `_open_osfhandle <https://msdn.microsoft.com/en-us/library/bdts1c9x.aspx>`_.
+ Note that the return value is still owned by the CRT,
+ any attempts to close it or to use it after closing the handle may lead to malfunction.
+
+ .. versionadded:: 1.23.0
+
File open constants
-------------------