mirror of https://github.com/mkerrisk/man-pages
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:
parent
87f6d861fa
commit
81a0028c21
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue