aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/misc.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/src/misc.rst b/docs/src/misc.rst
index 2968d1ce..a653413e 100644
--- a/docs/src/misc.rst
+++ b/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.