Print this page
11622 clean up rarer mandoc lint warnings

*** 47,57 **** .\" .TH NANOSLEEP 3C "Mar 27, 2016" .SH NAME nanosleep, thrd_sleep \- high resolution sleep .SH SYNOPSIS - .LP .nf #include <time.h> \fBint\fR \fBnanosleep\fR(\fBconst struct timespec *\fR\fIrqtp\fR, \fBstruct timespec *\fR\fIrmtp\fR); --- 47,56 ----
*** 62,72 **** \fBint\fR \fBthrd_sleep\fR(\fBconst struct timespec *\fR\fIrqtp\fR, \fBstruct timespec *\fR\fIrmtp\fR); .SH DESCRIPTION - .LP The \fBnanosleep()\fR and \fBthrd_sleep()\fR functions cause the current thread to be suspended from execution until either the time interval specified by the \fIrqtp\fR argument has elapsed or a signal is delivered to the calling thread and its action is to invoke a signal-catching function or to terminate the process. The suspension time may be longer than requested because the argument --- 61,70 ----
*** 78,88 **** .sp .LP The use of the \fBnanosleep()\fR and \fBthrd_sleep()\fR functions has no effect on the action or blockage of any signal. .SH RETURN VALUES - .LP If the \fBnanosleep()\fR or \fBthrd_sleep()\fR function returns because the requested time has elapsed, its return value is \fB0\fR. .sp .LP If the \fBnanosleep()\fR function returns because it has been interrupted by a --- 76,85 ----
*** 96,106 **** .LP If \fBnanosleep()\fR fails, it returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. .sp .LP - The .B thrd_sleep() function may fail for identical reasons as the .B nanosleep() function and returns \(mi1; however, the C11 standard does not define that --- 93,102 ----
*** 109,119 **** .B errno being set or staying the same across a call to .B thrd_sleep() . .SH ERRORS - .LP The \fBnanosleep()\fR function will fail if: .sp .ne 2 .na \fB\fBEINTR\fR\fR --- 105,114 ----
*** 140,150 **** .RS 10n The \fBnanosleep()\fR function is not supported by this implementation. .RE .SH ATTRIBUTES - .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS --- 135,144 ----
*** 159,165 **** _ Standard See \fBstandards\fR(5). .TE .SH SEE ALSO - .LP \fBsleep\fR(3C), \fBtime.h\fR(3HEAD), \fBattributes\fR(5), \fBstandards\fR(5) --- 153,158 ----