summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2001-08-14 14:10:01 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2001-08-14 14:10:01 +0000
commit2fa4b9b3d63b52072168bf23fccf64632026e6b1 (patch)
tree0c23e3811e7601b78ecc4654b67e062c9543998a
parent59322008fb4ecba98fa740a78cdcd70f308ad37e (diff)
Notes
-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 832684db9e64..b69ef331503c 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