OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man2 / nanosleep.2
index f1bbcff..d31d8a4 100644 (file)
@@ -1,9 +1,8 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright (C) Markus Kuhn, 1996
 .\" and Copyright (C) Linux Foundation, 2008, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
 .\" This is free documentation; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of
@@ -20,9 +19,9 @@
 .\" GNU General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
 .\"
 .\" 1996-04-10  Markus Kuhn <mskuhn@cip.informatik.uni-erlangen.de>
 .\"             First version written
@@ -98,7 +97,7 @@ POSIX.1 explicitly specifies that it
 does not interact with signals;
 and it makes the task of resuming a sleep that has been
 interrupted by a signal handler easier.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On successfully sleeping for the requested interval,
 .BR nanosleep ()
 returns 0.
@@ -125,7 +124,7 @@ The value in the
 field was not in the range 0 to 999999999 or
 .I tv_sec
 was negative.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES
 If the interval specified in
@@ -177,7 +176,7 @@ function; ...
 Consequently, these time services shall expire when the requested relative
 interval elapses, independently of the new or old value of the clock.
 .RE
-.SS "Old behavior"
+.SS Old behavior
 In order to support applications requiring much more precise pauses
 (e.g., in order to control some time-critical hardware),
 .BR nanosleep ()
@@ -203,7 +202,7 @@ signal.
 If the system call is subsequently restarted,
 then the time that the thread spent in the stopped state is
 \fInot\fP counted against the sleep interval.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR clock_nanosleep (2),
 .BR sched_setscheduler (2),
 .BR timer_create (2),