summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/nanosleep.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/nanosleep.2')
-rw-r--r--lib/libc/sys/nanosleep.28
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2
index 832684d..b69ef33 100644
--- a/lib/libc/sys/nanosleep.2
+++ b/lib/libc/sys/nanosleep.2
@@ -71,12 +71,10 @@ is
.Pf non- Dv NULL ,
the timespec structure it references is updated to contain the
unslept amount (the request time minus the time actually slept).
-.Pp
-If any of the following conditions occur, the
+.Sh ERRORS
+The
.Fn nanosleep
-function shall return -1 and set
-.Va errno
-to the corresponding value:
+call fails if:
.Bl -tag -width Er
.It Bq Er EFAULT
Either
OpenPOWER on IntegriCloud