diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-01-08 01:27:43 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-01-08 01:27:43 +0000 |
commit | b7ab278dd0cf01b71df240a60ff78e453708f1b9 (patch) | |
tree | cee5c4c662a5a17256b7c3b4424ea90e099218e3 /lib/libc | |
parent | a1d87ddc1026000bc73f4ee5a77c288249f2df16 (diff) | |
download | FreeBSD-src-b7ab278dd0cf01b71df240a60ff78e453708f1b9.zip FreeBSD-src-b7ab278dd0cf01b71df240a60ff78e453708f1b9.tar.gz |
Clarify text to be consistent with nanosleep(2),
since sleep(3) is implemented in terms of nanosleep(2).
This is similar to the sleep(3) man page for Darwin.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/sleep.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3 index ecfa237..00e8f8d 100644 --- a/lib/libc/gen/sleep.3 +++ b/lib/libc/gen/sleep.3 @@ -33,7 +33,7 @@ .Os .Sh NAME .Nm sleep -.Nd suspend process execution for an interval measured in seconds +.Nd suspend thread execution for an interval measured in seconds .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -43,11 +43,11 @@ .Sh DESCRIPTION The .Fn sleep -function suspends execution of the calling process until either +function suspends execution of the calling thread until either .Fa seconds -seconds have elapsed or a signal is delivered to the process and its +seconds have elapsed or a signal is delivered to the thread and its action is to invoke a signal-catching function or to terminate the -process. +thread or process. System activity may lengthen the sleep by an indeterminate amount. .Pp This function is implemented using |