clock_nanosleep.2: Fix discussion of return value when interrupted by a signal

Reported-by: Przemyslaw Szczepaniak <Przemyslaw.Szczepaniak@imgtec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-06-26 11:44:43 +02:00
parent 87f6d861fa
commit 81a0028c21
1 changed files with 2 additions and 4 deletions

View File

@ -21,7 +21,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH CLOCK_NANOSLEEP 2 2008-07-09 "Linux" "Linux Programmer's Manual"
.TH CLOCK_NANOSLEEP 2 2010-06-26 "Linux" "Linux Programmer's Manual"
.SH NAME
clock_nanosleep \- high-resolution sleep with specifiable clock
.SH SYNOPSIS
@ -124,9 +124,7 @@ that terminates the process.
If the call is interrupted by a signal handler,
.BR clock_nanosleep ()
returns \-1, and sets
.I errno
to
fails with the error
.BR EINTR .
In addition, if
.I remain