From b7ab278dd0cf01b71df240a60ff78e453708f1b9 Mon Sep 17 00:00:00 2001 From: rodrigc Date: Thu, 8 Jan 2015 01:27:43 +0000 Subject: 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. --- lib/libc/gen/sleep.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libc') 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 -- cgit v1.1