Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2015 01:27:44 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276802 - head/lib/libc/gen
Message-ID:  <201501080127.t081Ri85035157@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501080127.t081Ri85035157>