From 337d5700b464d52c986aa85349eb9138bf19695c Mon Sep 17 00:00:00 2001 From: yar Date: Tue, 14 Aug 2001 14:10:01 +0000 Subject: Isolate the ERRORS section from the RETURN VALUES one. Reviewed by: ru --- lib/libc/sys/nanosleep.2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/libc/sys/nanosleep.2') 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 -- cgit v1.1