summaryrefslogtreecommitdiffstats
path: root/share/man/man9/sleep.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/sleep.9')
-rw-r--r--share/man/man9/sleep.98
1 files changed, 8 insertions, 0 deletions
diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9
index 91a2121..469df9c 100644
--- a/share/man/man9/sleep.9
+++ b/share/man/man9/sleep.9
@@ -255,6 +255,14 @@ pay particular attention to ensure that no other threads wait on the
same
.Fa chan .
.Sh RETURN VALUES
+When awakened by a call to
+.Fn wakeup
+or
+.Fn wakeup_one ,
+if a signal is pending and
+.Dv PCATCH
+is specified,
+a non-zero error code is returned.
If the thread is awakened by a call to
.Fn wakeup
or
OpenPOWER on IntegriCloud