summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/pthread_rwlock_timedwrlock.3c
diff options
context:
space:
mode:
authorPeter Tribble <peter.tribble@gmail.com>2018-12-16 15:02:15 +0000
committerDan McDonald <danmcd@joyent.com>2019-01-12 15:44:25 -0500
commite61d7e85ebb4a7361eeb10639b742a92e0bf5e55 (patch)
tree691104aeba841d8fe48e6ae7a8d3d221d6f5c348 /usr/src/man/man3c/pthread_rwlock_timedwrlock.3c
parentc7749d0f58752c136e82d09f71ff14b1c2ce91f7 (diff)
downloadillumos-joyent-e61d7e85ebb4a7361eeb10639b742a92e0bf5e55.tar.gz
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Volker A. Brandt <vab@bb-c.de> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/man/man3c/pthread_rwlock_timedwrlock.3c')
-rw-r--r--usr/src/man/man3c/pthread_rwlock_timedwrlock.3c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr/src/man/man3c/pthread_rwlock_timedwrlock.3c b/usr/src/man/man3c/pthread_rwlock_timedwrlock.3c
index 542a0dbe38..a75e7cfcd3 100644
--- a/usr/src/man/man3c/pthread_rwlock_timedwrlock.3c
+++ b/usr/src/man/man3c/pthread_rwlock_timedwrlock.3c
@@ -65,7 +65,6 @@ cc \fB-mt\fR [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ]
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBpthread_rwlock_timedwrlock()\fR function applies a write lock to the
read-write lock referenced by \fIrwlock\fR as in the
@@ -89,7 +88,7 @@ interval specified by \fIrel_timeout\fR passes, as measured by the
The resolution of the timeout is the resolution of the \fBCLOCK_REALTIME\fR
clock. The \fBtimespec\fR data type is defined in the <\fBtime.h\fR> header.
Under no circumstances does either function fail with a timeout if the lock can
-be acquired immediately. The validity of the a\fIbs_timeout\fR parameter need
+be acquired immediately. The validity of the \fIabs_timeout\fR parameter need
not be checked if the lock can be immediately acquired.
.sp
.LP
@@ -104,14 +103,12 @@ The calling thread can deadlock if at the time the call is made it holds the
read-write lock. The results are undefined if this function is called with an
uninitialized read-write lock.
.SH RETURN VALUES
-.sp
.LP
The \fBpthread_rwlock_timedwrlock()\fR and
\fBpthread_rwlock_reltimedwrlock_np()\fR functions return 0 if the lock for
writing on the read-write lock object referenced by \fIrwlock\fR is acquired.
Otherwise, an error number is returned to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBpthread_rwlock_timedwrlock()\fR and
\fBpthread_rwlock_reltimedwrlock_np()\fR functions will fail if:
@@ -149,7 +146,6 @@ or equal to 1,000 million.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -171,7 +167,6 @@ MT-Level MT-Safe
The \fBpthread_rwlock_timedwrlock()\fR function is Standard. The
\fBpthread_rwlock_reltimedwrlock_np()\fR function is Stable.
.SH SEE ALSO
-.sp
.LP
\fBpthread_rwlock_destroy\fR(3C), \fBpthread_rwlock_rdlock\fR(3C),
\fBpthread_rwlock_timedrdlock\fR(3C), \fBpthread_rwlock_trywrlock\fR(3C),