aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/nanosleep.2
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-07-15 07:53:42 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-07-15 07:53:42 +0000
commit7ebcc426efefea9cd16ac6f565e72030c608f7a4 (patch)
treed6c008b8ae357e7c4c800baa477713b82a6ee2f2 /lib/libc/sys/nanosleep.2
parentd087ad9cc9c9a047e48ac7d97861bd67e56c4085 (diff)
downloadsrc-7ebcc426efefea9cd16ac6f565e72030c608f7a4.tar.gz
src-7ebcc426efefea9cd16ac6f565e72030c608f7a4.zip
Remove whitespace at EOL.
Notes
Notes: svn path=/head/; revision=79754
Diffstat (limited to 'lib/libc/sys/nanosleep.2')
-rw-r--r--lib/libc/sys/nanosleep.214
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2
index 0c4749f6f47d..832684db9e64 100644
--- a/lib/libc/sys/nanosleep.2
+++ b/lib/libc/sys/nanosleep.2
@@ -54,26 +54,26 @@ cause it to terminate the sleep early, regardless of the
.Dv SA_RESTART
value on the interrupting signal.
.Sh RETURN VALUES
-If the
+If the
.Fn nanosleep
function returns because the requested time has elapsed, the value
-returned will be zero.
+returned will be zero.
.Pp
-If the
+If the
.Fn nanosleep
function returns due to the delivery of a signal, the value returned
will be the -1, and the global variable
.Va errno
will be set to indicate the interruption.
-If
+If
.Fa rmtp
-is
+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
-.Fn nanosleep
+.Fn nanosleep
function shall return -1 and set
.Va errno
to the corresponding value:
@@ -81,7 +81,7 @@ to the corresponding value:
.It Bq Er EFAULT
Either
.Fa rqtp
-or
+or
.Fa rmtp
points to memory that is not a valid part of the process
address space.