Skip to content

Commit

Permalink
Clarify text to be consistent with nanosleep(2),
Browse files Browse the repository at this point in the history
since sleep(3) is implemented in terms of nanosleep(2).

This is similar to the sleep(3) man page for Darwin.
  • Loading branch information
rodrigc committed Jan 8, 2015
1 parent a1d87dd commit b7ab278
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/libc/gen/sleep.3
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b7ab278

Please sign in to comment.