aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/signal.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/src/signal.rst b/docs/src/signal.rst
index dc1223b9..5b3b352b 100644
--- a/docs/src/signal.rst
+++ b/docs/src/signal.rst
@@ -70,6 +70,13 @@ API
Start the handle with the given callback, watching for the given signal.
+.. c:function:: int uv_signal_start_oneshot(uv_signal_t* signal, uv_signal_cb cb, int signum)
+
+ .. versionadded:: 1.12.0
+
+ Same functionality as :c:func:`uv_signal_start` but the signal handler is reset the moment
+ the signal is received.
+
.. c:function:: int uv_signal_stop(uv_signal_t* signal)
Stop the handle, the callback will no longer be called.