Print this page
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>

*** 63,73 **** \fBint\fR \fBpthread_rwlock_reltimedwrlock_np\fR(\fBpthread_rwlock_t *restrict\fR \fIrwlock\fR, \fBconst struct timespec *restrict\fR \fIrel_timeout\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 \fBpthread_rwlock_wrlock\fR(3C) function. If the lock cannot be acquired without waiting for other threads to unlock the lock, this wait will be --- 63,72 ----
*** 87,97 **** .sp .LP 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 not be checked if the lock can be immediately acquired. .sp .LP If a signal that causes a signal handler to be executed is delivered to a thread blocked on a read- write lock with a call to --- 86,96 ---- .sp .LP 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 \fIabs_timeout\fR parameter need not be checked if the lock can be immediately acquired. .sp .LP If a signal that causes a signal handler to be executed is delivered to a thread blocked on a read- write lock with a call to
*** 102,119 **** .LP 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: .sp .ne 2 --- 101,116 ----
*** 147,157 **** lock object, or the timeout nanosecond value is less than zero or greater than or equal to 1,000 million. .RE .SH ATTRIBUTES - .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp --- 144,153 ----
*** 169,179 **** .sp .LP 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), \fBpthread_rwlock_unlock\fR(3C), \fBpthread_rwlock_wrlock\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5) --- 165,174 ----