Print this page
11622 clean up rarer mandoc lint warnings

@@ -47,11 +47,10 @@
 .\"
 .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);

@@ -62,11 +61,10 @@
 
 \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

@@ -78,11 +76,10 @@
 .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

@@ -96,11 +93,10 @@
 .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

@@ -109,11 +105,10 @@
 .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

@@ -140,11 +135,10 @@
 .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

@@ -159,7 +153,6 @@
 _
 Standard        See \fBstandards\fR(5).
 .TE
 
 .SH SEE ALSO
-.LP
 \fBsleep\fR(3C), \fBtime.h\fR(3HEAD), \fBattributes\fR(5), \fBstandards\fR(5)