summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2001-08-14 14:10:01 +0000
committeryar <yar@FreeBSD.org>2001-08-14 14:10:01 +0000
commit337d5700b464d52c986aa85349eb9138bf19695c (patch)
tree0c23e3811e7601b78ecc4654b67e062c9543998a /lib/libc
parentd5fd644ccd56e4d1a555e7986db01cc2c56a3f60 (diff)
downloadFreeBSD-src-337d5700b464d52c986aa85349eb9138bf19695c.zip
FreeBSD-src-337d5700b464d52c986aa85349eb9138bf19695c.tar.gz
Isolate the ERRORS section from the RETURN VALUES one.
Reviewed by: ru
Diffstat (limited to 'lib/libc')
-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