Print this page
9842 man page typos and spelling
@@ -61,11 +61,10 @@
\fBint\fR \fBsem_reltimedwait_np\fR(\fBsem_t *restrict\fR \fIsem\fR,
\fBconst struct timespec *restrict\fR \fIrel_timeout\fR);
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBsem_timedwait()\fR function locks the semaphore referenced by \fIsem\fR
as in the \fBsem_wait\fR(3C) function. However, if the semaphore cannot be
locked without waiting for another process or thread to unlock the semaphore by
performing a \fBsem_post\fR(3C) function, this wait is terminated when the
@@ -97,19 +96,17 @@
.LP
Under no circumstance does the function fail with a timeout if the semaphore
can be locked immediately. The validity of the \fIabs_timeout\fR need not be
checked if the semaphore can be locked immediately.
.SH RETURN VALUES
-.sp
.LP
The \fBsem_timedwait()\fR and \fBsem_reltimedwait_np()\fR functions return 0 if
the calling process successfully performed the semaphore lock operation on the
semaphore designated by \fIsem\fR. If the call was unsuccessful, the state of
the semaphore is be unchanged and the function returns -1 and sets \fBerrno\fR
to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBsem_timedwait()\fR and \fBsem_reltimedwait_np()\fR functions will fail
if:
.sp
.ne 2
@@ -161,11 +158,10 @@
.RS 11n
A signal interrupted this function.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
@@ -173,11 +169,11 @@
box;
c | c
l | l .
ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface Stability Commmitted
+Interface Stability Committed
_
MT-Level MT-Safe
_
Standard See below.
.TE
@@ -184,10 +180,9 @@
.sp
.LP
For \fBsem_timedwait()\fR, see \fBstandards\fR(5).
.SH SEE ALSO
-.sp
.LP
\fBsemctl\fR(2), \fBsemget\fR(2), \fBsemop\fR(2), \fBtime\fR(2),
\fBsem_post\fR(3C), \fBsem_trywait\fR(3C), \fBsem_wait\fR(3C),
\fBattributes\fR(5), \fBstandards\fR(5)