Author: rodrigc
Date: Thu Jan  8 01:27:43 2015
New Revision: 276802
URL: https://svnweb.freebsd.org/changeset/base/276802

Log:
  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.

Modified:
  head/lib/libc/gen/sleep.3

Modified: head/lib/libc/gen/sleep.3
==============================================================================
--- head/lib/libc/gen/sleep.3   Thu Jan  8 00:39:40 2015        (r276801)
+++ head/lib/libc/gen/sleep.3   Thu Jan  8 01:27:43 2015        (r276802)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to