pthread_mutexattr_getpshared.3, pthread_rwlockattr_setkind_np.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-03-14 21:30:41 +01:00
parent fe817dd03c
commit 48ee34e75c
2 changed files with 6 additions and 6 deletions

View File

@ -31,10 +31,10 @@ process-shared mutex attribute
.B #include <pthread.h>
.PP
.BI "int pthread_mutexattr_getpshared("
.BI " const pthread_mutexattr_t *restrict " attr ,
.BI " int *restrict " pshared );
.BI " const pthread_mutexattr_t *restrict " attr ,
.BI " int *restrict " pshared );
.BI "int pthread_mutexattr_setpshared(pthread_mutexattr_t *" attr ,
.BI " int " pshared );
.BI " int " pshared );
.fi
.PP
Compile and link with \fI\-pthread\fP.

View File

@ -31,10 +31,10 @@ the read-write lock kind of the thread read-write lock attribute object
.B #include <pthread.h>
.PP
.BI "int pthread_rwlockattr_setkind_np(pthread_rwlockattr_t *" attr ,
.BI " int " pref );
.BI " int " pref );
.BI "int pthread_rwlockattr_getkind_np("
.BI " const pthread_rwlockattr_t *restrict " attr ,
.BI " int *restrict " pref );
.BI " const pthread_rwlockattr_t *restrict " attr ,
.BI " int *restrict " pref );
.PP
Compile and link with \fI\-pthread\fP.
.PP