summaryrefslogtreecommitdiff
path: root/deps/uv/docs/src/misc.rst
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/docs/src/misc.rst')
-rw-r--r--deps/uv/docs/src/misc.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/uv/docs/src/misc.rst b/deps/uv/docs/src/misc.rst
index 2968d1cea1..a653413e09 100644
--- a/deps/uv/docs/src/misc.rst
+++ b/deps/uv/docs/src/misc.rst
@@ -227,6 +227,12 @@ API
On Windows not all fields are set, the unsupported fields are filled with zeroes.
See :c:type:`uv_rusage_t` for more details.
+.. c:function:: uv_pid_t uv_os_getpid(void)
+
+ Returns the current process ID.
+
+ .. versionadded:: 1.18.0
+
.. c:function:: uv_pid_t uv_os_getppid(void)
Returns the parent process ID.