summaryrefslogtreecommitdiffstats
path: root/share/man/man3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-01-14 21:44:26 +0000
committerru <ru@FreeBSD.org>2004-01-14 21:44:26 +0000
commit57b6bbbf56fa1589c1da24f2edb993cc535ce068 (patch)
treeb3a28e39428aba8757379f99bb6e4ede75322ef0 /share/man/man3
parent894449cd93a70b82e4c6349b4a39db9744f1d10c (diff)
downloadFreeBSD-src-57b6bbbf56fa1589c1da24f2edb993cc535ce068.zip
FreeBSD-src-57b6bbbf56fa1589c1da24f2edb993cc535ce068.tar.gz
Have a single set of POSIX threads man pages. The LIBRARY section
of each manpage lists libraries that have corresponding interfaces implemented. Prodded by: threads Reviewed by: deischen
Diffstat (limited to 'share/man/man3')
-rw-r--r--share/man/man3/Makefile107
-rw-r--r--share/man/man3/pthread_attr.31
-rw-r--r--share/man/man3/pthread_attr_get_np.31
-rw-r--r--share/man/man3/pthread_attr_setcreatesuspend_np.31
-rw-r--r--share/man/man3/pthread_cancel.31
-rw-r--r--share/man/man3/pthread_cleanup_pop.31
-rw-r--r--share/man/man3/pthread_cleanup_push.31
-rw-r--r--share/man/man3/pthread_cond_broadcast.31
-rw-r--r--share/man/man3/pthread_cond_destroy.31
-rw-r--r--share/man/man3/pthread_cond_init.31
-rw-r--r--share/man/man3/pthread_cond_signal.31
-rw-r--r--share/man/man3/pthread_cond_timedwait.31
-rw-r--r--share/man/man3/pthread_cond_wait.31
-rw-r--r--share/man/man3/pthread_condattr.31
-rw-r--r--share/man/man3/pthread_create.31
-rw-r--r--share/man/man3/pthread_detach.31
-rw-r--r--share/man/man3/pthread_equal.31
-rw-r--r--share/man/man3/pthread_exit.31
-rw-r--r--share/man/man3/pthread_getconcurrency.31
-rw-r--r--share/man/man3/pthread_getspecific.31
-rw-r--r--share/man/man3/pthread_join.31
-rw-r--r--share/man/man3/pthread_key_create.31
-rw-r--r--share/man/man3/pthread_key_delete.31
-rw-r--r--share/man/man3/pthread_kill.31
-rw-r--r--share/man/man3/pthread_main_np.31
-rw-r--r--share/man/man3/pthread_multi_np.31
-rw-r--r--share/man/man3/pthread_mutex_destroy.31
-rw-r--r--share/man/man3/pthread_mutex_init.31
-rw-r--r--share/man/man3/pthread_mutex_lock.31
-rw-r--r--share/man/man3/pthread_mutex_trylock.31
-rw-r--r--share/man/man3/pthread_mutex_unlock.31
-rw-r--r--share/man/man3/pthread_mutexattr.31
-rw-r--r--share/man/man3/pthread_mutexattr_getkind_np.31
-rw-r--r--share/man/man3/pthread_once.31
-rw-r--r--share/man/man3/pthread_resume_all_np.31
-rw-r--r--share/man/man3/pthread_resume_np.31
-rw-r--r--share/man/man3/pthread_rwlock_destroy.31
-rw-r--r--share/man/man3/pthread_rwlock_init.31
-rw-r--r--share/man/man3/pthread_rwlock_rdlock.31
-rw-r--r--share/man/man3/pthread_rwlock_unlock.31
-rw-r--r--share/man/man3/pthread_rwlock_wrlock.31
-rw-r--r--share/man/man3/pthread_rwlockattr_destroy.31
-rw-r--r--share/man/man3/pthread_rwlockattr_getpshared.31
-rw-r--r--share/man/man3/pthread_rwlockattr_init.31
-rw-r--r--share/man/man3/pthread_rwlockattr_setpshared.31
-rw-r--r--share/man/man3/pthread_schedparam.31
-rw-r--r--share/man/man3/pthread_self.31
-rw-r--r--share/man/man3/pthread_set_name_np.31
-rw-r--r--share/man/man3/pthread_setspecific.31
-rw-r--r--share/man/man3/pthread_sigmask.31
-rw-r--r--share/man/man3/pthread_suspend_all_np.31
-rw-r--r--share/man/man3/pthread_suspend_np.31
-rw-r--r--share/man/man3/pthread_testcancel.31
53 files changed, 154 insertions, 5 deletions
diff --git a/share/man/man3/Makefile b/share/man/man3/Makefile
index eb3b583..8af8e82 100644
--- a/share/man/man3/Makefile
+++ b/share/man/man3/Makefile
@@ -1,13 +1,9 @@
# @(#)Makefile 8.2 (Berkeley) 12/13/93
# $FreeBSD$
-MAN= assert.3 bitstring.3 end.3 fpgetround.3 intro.3 pthread.3 queue.3 \
+MAN= assert.3 bitstring.3 end.3 fpgetround.3 intro.3 queue.3 \
stdarg.3 sysexits.3 timeradd.3 tree.3
-.ifndef NOLIBC_R || NOLIBPTHREAD || NOLIBTHR
-MAN+= pthread_mutex_timedlock.3
-.endif
-
MLINKS+=bitstring.3 bit_alloc.3 bitstring.3 bit_clear.3 \
bitstring.3 bit_decl.3 bitstring.3 bit_ffc.3 bitstring.3 bit_ffs.3 \
bitstring.3 bit_nclear.3 bitstring.3 bit_nset.3 bitstring.3 bit_set.3 \
@@ -117,4 +113,105 @@ MLINKS+=tree.3 RB_INIT.3
MLINKS+=tree.3 RB_INSERT.3
MLINKS+=tree.3 RB_REMOVE.3
+.ifndef NOLIBC_R || NOLIBPTHREAD || NOLIBTHR
+
+MAN+= pthread.3 \
+ pthread_attr.3 \
+ pthread_attr_get_np.3 \
+ pthread_attr_setcreatesuspend_np.3 \
+ pthread_cancel.3 \
+ pthread_cleanup_pop.3 \
+ pthread_cleanup_push.3 \
+ pthread_getconcurrency.3 \
+ pthread_condattr.3 \
+ pthread_cond_broadcast.3 \
+ pthread_cond_destroy.3 \
+ pthread_cond_init.3 \
+ pthread_cond_signal.3 \
+ pthread_cond_timedwait.3 \
+ pthread_cond_wait.3 \
+ pthread_create.3 \
+ pthread_detach.3 \
+ pthread_equal.3 \
+ pthread_exit.3 \
+ pthread_getspecific.3 \
+ pthread_join.3 \
+ pthread_key_create.3 \
+ pthread_key_delete.3 \
+ pthread_kill.3 \
+ pthread_main_np.3 \
+ pthread_multi_np.3 \
+ pthread_mutexattr.3 \
+ pthread_mutexattr_getkind_np.3 \
+ pthread_mutex_destroy.3 \
+ pthread_mutex_init.3 \
+ pthread_mutex_lock.3 \
+ pthread_mutex_timedlock.3 \
+ pthread_mutex_trylock.3 \
+ pthread_mutex_unlock.3 \
+ pthread_once.3 \
+ pthread_resume_all_np.3 \
+ pthread_resume_np.3 \
+ pthread_rwlock_destroy.3 \
+ pthread_rwlock_init.3 \
+ pthread_rwlock_rdlock.3 \
+ pthread_rwlock_unlock.3 \
+ pthread_rwlock_wrlock.3 \
+ pthread_rwlockattr_destroy.3 \
+ pthread_rwlockattr_getpshared.3 \
+ pthread_rwlockattr_init.3 \
+ pthread_rwlockattr_setpshared.3 \
+ pthread_schedparam.3 \
+ pthread_self.3 \
+ pthread_set_name_np.3 \
+ pthread_setspecific.3 \
+ pthread_sigmask.3 \
+ pthread_suspend_all_np.3 \
+ pthread_suspend_np.3 \
+ pthread_switch_add_np.3 \
+ pthread_testcancel.3
+
+MLINKS+=pthread_attr.3 pthread_attr_destroy.3 \
+ pthread_attr.3 pthread_attr_getdetachstate.3 \
+ pthread_attr.3 pthread_attr_getguardsize.3 \
+ pthread_attr.3 pthread_attr_getinheritsched.3 \
+ pthread_attr.3 pthread_attr_getschedparam.3 \
+ pthread_attr.3 pthread_attr_getschedpolicy.3 \
+ pthread_attr.3 pthread_attr_getscope.3 \
+ pthread_attr.3 pthread_attr_getstack.3 \
+ pthread_attr.3 pthread_attr_getstackaddr.3 \
+ pthread_attr.3 pthread_attr_getstacksize.3 \
+ pthread_attr.3 pthread_attr_init.3 \
+ pthread_attr.3 pthread_attr_setdetachstate.3 \
+ pthread_attr.3 pthread_attr_setguardsize.3 \
+ pthread_attr.3 pthread_attr_setinheritsched.3 \
+ pthread_attr.3 pthread_attr_setschedparam.3 \
+ pthread_attr.3 pthread_attr_setschedpolicy.3 \
+ pthread_attr.3 pthread_attr_setscope.3 \
+ pthread_attr.3 pthread_attr_setstack.3 \
+ pthread_attr.3 pthread_attr_setstackaddr.3 \
+ pthread_attr.3 pthread_attr_setstacksize.3
+MLINKS+=pthread_getconcurrency.3 pthread_setconcurrency.3
+MLINKS+=pthread_condattr.3 pthread_condattr_init.3 \
+ pthread_condattr.3 pthread_condattr_destroy.3
+MLINKS+=pthread_multi_np.3 pthread_single_np.3
+MLINKS+=pthread_mutexattr.3 pthread_mutexattr_init.3 \
+ pthread_mutexattr.3 pthread_mutexattr_destroy.3 \
+ pthread_mutexattr.3 pthread_mutexattr_getprioceiling.3 \
+ pthread_mutexattr.3 pthread_mutexattr_getprotocol.3 \
+ pthread_mutexattr.3 pthread_mutexattr_gettype.3 \
+ pthread_mutexattr.3 pthread_mutexattr_setprioceiling.3 \
+ pthread_mutexattr.3 pthread_mutexattr_setprotocol.3 \
+ pthread_mutexattr.3 pthread_mutexattr_settype.3
+MLINKS+=pthread_mutexattr_getkind_np.3 pthread_mutexattr_setkind_np.3
+MLINKS+=pthread_rwlock_rdlock.3 pthread_rwlock_tryrdlock.3
+MLINKS+=pthread_rwlock_wrlock.3 pthread_rwlock_trywrlock.3
+MLINKS+=pthread_schedparam.3 pthread_getschedparam.3 \
+ pthread_schedparam.3 pthread_setschedparam.3
+MLINKS+=pthread_switch_add_np.3 pthread_switch_delete_np.3
+MLINKS+=pthread_testcancel.3 pthread_setcancelstate.3 \
+ pthread_testcancel.3 pthread_setcanceltype.3
+
+.endif
+
.include <bsd.prog.mk>
diff --git a/share/man/man3/pthread_attr.3 b/share/man/man3/pthread_attr.3
index 3797542..be27154 100644
--- a/share/man/man3/pthread_attr.3
+++ b/share/man/man3/pthread_attr.3
@@ -53,6 +53,7 @@
.Nd thread attribute operations
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_attr_get_np.3 b/share/man/man3/pthread_attr_get_np.3
index 82e1065..438299f 100644
--- a/share/man/man3/pthread_attr_get_np.3
+++ b/share/man/man3/pthread_attr_get_np.3
@@ -32,6 +32,7 @@
.Nd get attributes of existent thread
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread_np.h
.Ft int
diff --git a/share/man/man3/pthread_attr_setcreatesuspend_np.3 b/share/man/man3/pthread_attr_setcreatesuspend_np.3
index 7059905..570a04e 100644
--- a/share/man/man3/pthread_attr_setcreatesuspend_np.3
+++ b/share/man/man3/pthread_attr_setcreatesuspend_np.3
@@ -32,6 +32,7 @@
.Nd prepare attribute for creattion of suspended thread
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread_np.h
.Ft int
diff --git a/share/man/man3/pthread_cancel.3 b/share/man/man3/pthread_cancel.3
index 166dadc..42aa2e8 100644
--- a/share/man/man3/pthread_cancel.3
+++ b/share/man/man3/pthread_cancel.3
@@ -7,6 +7,7 @@
.Nd cancel execution of a thread
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_cleanup_pop.3 b/share/man/man3/pthread_cleanup_pop.3
index a0cb1b6..ee0205b 100644
--- a/share/man/man3/pthread_cleanup_pop.3
+++ b/share/man/man3/pthread_cleanup_pop.3
@@ -35,6 +35,7 @@
.Nd call the first cleanup routine
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft void
diff --git a/share/man/man3/pthread_cleanup_push.3 b/share/man/man3/pthread_cleanup_push.3
index 7d7f986..0192413 100644
--- a/share/man/man3/pthread_cleanup_push.3
+++ b/share/man/man3/pthread_cleanup_push.3
@@ -35,6 +35,7 @@
.Nd add a cleanup function for thread exit
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft void
diff --git a/share/man/man3/pthread_cond_broadcast.3 b/share/man/man3/pthread_cond_broadcast.3
index 1c734f3..bf8e0f9 100644
--- a/share/man/man3/pthread_cond_broadcast.3
+++ b/share/man/man3/pthread_cond_broadcast.3
@@ -35,6 +35,7 @@
.Nd unblock all threads waiting for a condition variable
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_cond_destroy.3 b/share/man/man3/pthread_cond_destroy.3
index 3b6b452..61eddf9 100644
--- a/share/man/man3/pthread_cond_destroy.3
+++ b/share/man/man3/pthread_cond_destroy.3
@@ -35,6 +35,7 @@
.Nd destroy a condition variable
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_cond_init.3 b/share/man/man3/pthread_cond_init.3
index 255c039..3ad94d5 100644
--- a/share/man/man3/pthread_cond_init.3
+++ b/share/man/man3/pthread_cond_init.3
@@ -35,6 +35,7 @@
.Nd create a condition variable
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_cond_signal.3 b/share/man/man3/pthread_cond_signal.3
index 7c389ec..50b5577 100644
--- a/share/man/man3/pthread_cond_signal.3
+++ b/share/man/man3/pthread_cond_signal.3
@@ -35,6 +35,7 @@
.Nd unblock a thread waiting for a condition variable
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_cond_timedwait.3 b/share/man/man3/pthread_cond_timedwait.3
index dd44795..c4f5fac 100644
--- a/share/man/man3/pthread_cond_timedwait.3
+++ b/share/man/man3/pthread_cond_timedwait.3
@@ -35,6 +35,7 @@
.Nd "wait on a condition variable for a specific amount of time"
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_cond_wait.3 b/share/man/man3/pthread_cond_wait.3
index 02e2f81..502db7f 100644
--- a/share/man/man3/pthread_cond_wait.3
+++ b/share/man/man3/pthread_cond_wait.3
@@ -35,6 +35,7 @@
.Nd wait on a condition variable
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_condattr.3 b/share/man/man3/pthread_condattr.3
index ac5ba5d..2f3b812 100644
--- a/share/man/man3/pthread_condattr.3
+++ b/share/man/man3/pthread_condattr.3
@@ -35,6 +35,7 @@
.Nd condition attribute operations
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_create.3 b/share/man/man3/pthread_create.3
index 32f1875..b33f360 100644
--- a/share/man/man3/pthread_create.3
+++ b/share/man/man3/pthread_create.3
@@ -38,6 +38,7 @@
.Nd create a new thread
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_detach.3 b/share/man/man3/pthread_detach.3
index 55dd222..f2f08d4 100644
--- a/share/man/man3/pthread_detach.3
+++ b/share/man/man3/pthread_detach.3
@@ -38,6 +38,7 @@
.Nd detach a thread
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_equal.3 b/share/man/man3/pthread_equal.3
index 9b10fad..5191277 100644
--- a/share/man/man3/pthread_equal.3
+++ b/share/man/man3/pthread_equal.3
@@ -38,6 +38,7 @@
.Nd compare thread IDs
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_exit.3 b/share/man/man3/pthread_exit.3
index 1398307..49cf246 100644
--- a/share/man/man3/pthread_exit.3
+++ b/share/man/man3/pthread_exit.3
@@ -38,6 +38,7 @@
.Nd terminate the calling thread
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft void
diff --git a/share/man/man3/pthread_getconcurrency.3 b/share/man/man3/pthread_getconcurrency.3
index d71599a..b14f82a 100644
--- a/share/man/man3/pthread_getconcurrency.3
+++ b/share/man/man3/pthread_getconcurrency.3
@@ -32,6 +32,7 @@
.Nd get or set level of concurrency
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_getspecific.3 b/share/man/man3/pthread_getspecific.3
index a7999e5..9493bdf 100644
--- a/share/man/man3/pthread_getspecific.3
+++ b/share/man/man3/pthread_getspecific.3
@@ -38,6 +38,7 @@
.Nd get a thread-specific data value
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft void *
diff --git a/share/man/man3/pthread_join.3 b/share/man/man3/pthread_join.3
index 513e291..cb34002 100644
--- a/share/man/man3/pthread_join.3
+++ b/share/man/man3/pthread_join.3
@@ -38,6 +38,7 @@
.Nd wait for thread termination
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_key_create.3 b/share/man/man3/pthread_key_create.3
index a2b0918..b729cd2 100644
--- a/share/man/man3/pthread_key_create.3
+++ b/share/man/man3/pthread_key_create.3
@@ -38,6 +38,7 @@
.Nd thread-specific data key creation
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_key_delete.3 b/share/man/man3/pthread_key_delete.3
index c025857..be1b901 100644
--- a/share/man/man3/pthread_key_delete.3
+++ b/share/man/man3/pthread_key_delete.3
@@ -38,6 +38,7 @@
.Nd delete a thread-specific data key
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_kill.3 b/share/man/man3/pthread_kill.3
index 94434bf..4b0df4e 100644
--- a/share/man/man3/pthread_kill.3
+++ b/share/man/man3/pthread_kill.3
@@ -34,6 +34,7 @@
.Nd send a signal to a specified thread
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.In signal.h
diff --git a/share/man/man3/pthread_main_np.3 b/share/man/man3/pthread_main_np.3
index 9065b90..999868c 100644
--- a/share/man/man3/pthread_main_np.3
+++ b/share/man/man3/pthread_main_np.3
@@ -32,6 +32,7 @@
.Nd identify the initial thread
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread_np.h
.Ft int
diff --git a/share/man/man3/pthread_multi_np.3 b/share/man/man3/pthread_multi_np.3
index 5588c6c..b47c8ff 100644
--- a/share/man/man3/pthread_multi_np.3
+++ b/share/man/man3/pthread_multi_np.3
@@ -33,6 +33,7 @@
.Nd "switch between multi- and single-threaded scheduling modes"
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread_np.h
.Ft int
diff --git a/share/man/man3/pthread_mutex_destroy.3 b/share/man/man3/pthread_mutex_destroy.3
index 1ae5147..fc98d73 100644
--- a/share/man/man3/pthread_mutex_destroy.3
+++ b/share/man/man3/pthread_mutex_destroy.3
@@ -35,6 +35,7 @@
.Nd free resources allocated for a mutex
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_mutex_init.3 b/share/man/man3/pthread_mutex_init.3
index 4f3e918..987b744 100644
--- a/share/man/man3/pthread_mutex_init.3
+++ b/share/man/man3/pthread_mutex_init.3
@@ -35,6 +35,7 @@
.Nd create a mutex
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_mutex_lock.3 b/share/man/man3/pthread_mutex_lock.3
index 01628c8..69c40f8 100644
--- a/share/man/man3/pthread_mutex_lock.3
+++ b/share/man/man3/pthread_mutex_lock.3
@@ -35,6 +35,7 @@
.Nd lock a mutex
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_mutex_trylock.3 b/share/man/man3/pthread_mutex_trylock.3
index a40bf97..d9e921a 100644
--- a/share/man/man3/pthread_mutex_trylock.3
+++ b/share/man/man3/pthread_mutex_trylock.3
@@ -35,6 +35,7 @@
.Nd attempt to lock a mutex without blocking
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_mutex_unlock.3 b/share/man/man3/pthread_mutex_unlock.3
index 8e05cce..6194e15 100644
--- a/share/man/man3/pthread_mutex_unlock.3
+++ b/share/man/man3/pthread_mutex_unlock.3
@@ -35,6 +35,7 @@
.Nd unlock a mutex
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_mutexattr.3 b/share/man/man3/pthread_mutexattr.3
index 91fde14..df1d85d 100644
--- a/share/man/man3/pthread_mutexattr.3
+++ b/share/man/man3/pthread_mutexattr.3
@@ -41,6 +41,7 @@
.Nd mutex attribute operations
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_mutexattr_getkind_np.3 b/share/man/man3/pthread_mutexattr_getkind_np.3
index 8bb673c..d59c752 100644
--- a/share/man/man3/pthread_mutexattr_getkind_np.3
+++ b/share/man/man3/pthread_mutexattr_getkind_np.3
@@ -33,6 +33,7 @@
.Nd mutex attribute operations (legacy)
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread_np.h
.Ft int
diff --git a/share/man/man3/pthread_once.3 b/share/man/man3/pthread_once.3
index 902f497..180714d 100644
--- a/share/man/man3/pthread_once.3
+++ b/share/man/man3/pthread_once.3
@@ -38,6 +38,7 @@
.Nd dynamic package initialization
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Pp
diff --git a/share/man/man3/pthread_resume_all_np.3 b/share/man/man3/pthread_resume_all_np.3
index 90b2657..22c5495 100644
--- a/share/man/man3/pthread_resume_all_np.3
+++ b/share/man/man3/pthread_resume_all_np.3
@@ -32,6 +32,7 @@
.Nd resume all suspended threads
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread_np.h
.Ft void
diff --git a/share/man/man3/pthread_resume_np.3 b/share/man/man3/pthread_resume_np.3
index 4a1a077..4328af4 100644
--- a/share/man/man3/pthread_resume_np.3
+++ b/share/man/man3/pthread_resume_np.3
@@ -32,6 +32,7 @@
.Nd resume suspended thread
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread_np.h
.Ft int
diff --git a/share/man/man3/pthread_rwlock_destroy.3 b/share/man/man3/pthread_rwlock_destroy.3
index b65e065..9dddccd 100644
--- a/share/man/man3/pthread_rwlock_destroy.3
+++ b/share/man/man3/pthread_rwlock_destroy.3
@@ -32,6 +32,7 @@
.Nd destroy a read/write lock
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_rwlock_init.3 b/share/man/man3/pthread_rwlock_init.3
index 0360987..5ea9455 100644
--- a/share/man/man3/pthread_rwlock_init.3
+++ b/share/man/man3/pthread_rwlock_init.3
@@ -32,6 +32,7 @@
.Nd initialize a read/write lock
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_rwlock_rdlock.3 b/share/man/man3/pthread_rwlock_rdlock.3
index 88dbb17..01e84f3 100644
--- a/share/man/man3/pthread_rwlock_rdlock.3
+++ b/share/man/man3/pthread_rwlock_rdlock.3
@@ -33,6 +33,7 @@
.Nd acquire a read/write lock for reading
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_rwlock_unlock.3 b/share/man/man3/pthread_rwlock_unlock.3
index 9391f75..f67bda4 100644
--- a/share/man/man3/pthread_rwlock_unlock.3
+++ b/share/man/man3/pthread_rwlock_unlock.3
@@ -32,6 +32,7 @@
.Nd release a read/write lock
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_rwlock_wrlock.3 b/share/man/man3/pthread_rwlock_wrlock.3
index c74a466..ae5d4b8 100644
--- a/share/man/man3/pthread_rwlock_wrlock.3
+++ b/share/man/man3/pthread_rwlock_wrlock.3
@@ -33,6 +33,7 @@
.Nd acquire a read/write lock for writing
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_rwlockattr_destroy.3 b/share/man/man3/pthread_rwlockattr_destroy.3
index 65c6d3f..79e4013 100644
--- a/share/man/man3/pthread_rwlockattr_destroy.3
+++ b/share/man/man3/pthread_rwlockattr_destroy.3
@@ -32,6 +32,7 @@
.Nd destroy a read/write lock
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_rwlockattr_getpshared.3 b/share/man/man3/pthread_rwlockattr_getpshared.3
index 227f512..4a17f05 100644
--- a/share/man/man3/pthread_rwlockattr_getpshared.3
+++ b/share/man/man3/pthread_rwlockattr_getpshared.3
@@ -32,6 +32,7 @@
.Nd get the process shared attribute
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_rwlockattr_init.3 b/share/man/man3/pthread_rwlockattr_init.3
index 4ae4ecf..8a03435 100644
--- a/share/man/man3/pthread_rwlockattr_init.3
+++ b/share/man/man3/pthread_rwlockattr_init.3
@@ -32,6 +32,7 @@
.Nd initialize a read/write lock
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_rwlockattr_setpshared.3 b/share/man/man3/pthread_rwlockattr_setpshared.3
index f04bf9f..8307612 100644
--- a/share/man/man3/pthread_rwlockattr_setpshared.3
+++ b/share/man/man3/pthread_rwlockattr_setpshared.3
@@ -32,6 +32,7 @@
.Nd set the process shared attribute
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_schedparam.3 b/share/man/man3/pthread_schedparam.3
index ea72087..48d16bb 100644
--- a/share/man/man3/pthread_schedparam.3
+++ b/share/man/man3/pthread_schedparam.3
@@ -35,6 +35,7 @@
.Nd thread scheduling parameter manipulation
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_self.3 b/share/man/man3/pthread_self.3
index db7dd29..7bd3977 100644
--- a/share/man/man3/pthread_self.3
+++ b/share/man/man3/pthread_self.3
@@ -38,6 +38,7 @@
.Nd get the calling thread's ID
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft pthread_t
diff --git a/share/man/man3/pthread_set_name_np.3 b/share/man/man3/pthread_set_name_np.3
index a768e4c..9f0412d 100644
--- a/share/man/man3/pthread_set_name_np.3
+++ b/share/man/man3/pthread_set_name_np.3
@@ -32,6 +32,7 @@
.Nd set the thread name
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread_np.h
.Ft void
diff --git a/share/man/man3/pthread_setspecific.3 b/share/man/man3/pthread_setspecific.3
index a2c47d0..b3643cc 100644
--- a/share/man/man3/pthread_setspecific.3
+++ b/share/man/man3/pthread_setspecific.3
@@ -38,6 +38,7 @@
.Nd set a thread-specific data value
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
diff --git a/share/man/man3/pthread_sigmask.3 b/share/man/man3/pthread_sigmask.3
index df97ce1..2047b4b 100644
--- a/share/man/man3/pthread_sigmask.3
+++ b/share/man/man3/pthread_sigmask.3
@@ -34,6 +34,7 @@
.Nd examine and/or change a thread's signal mask
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.In signal.h
diff --git a/share/man/man3/pthread_suspend_all_np.3 b/share/man/man3/pthread_suspend_all_np.3
index 56c78f1..98e8983 100644
--- a/share/man/man3/pthread_suspend_all_np.3
+++ b/share/man/man3/pthread_suspend_all_np.3
@@ -32,6 +32,7 @@
.Nd suspend all active threads
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread_np.h
.Ft void
diff --git a/share/man/man3/pthread_suspend_np.3 b/share/man/man3/pthread_suspend_np.3
index c8a9c8f..2d6b72b 100644
--- a/share/man/man3/pthread_suspend_np.3
+++ b/share/man/man3/pthread_suspend_np.3
@@ -32,6 +32,7 @@
.Nd suspend a thread
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread_np.h
.Ft int
diff --git a/share/man/man3/pthread_testcancel.3 b/share/man/man3/pthread_testcancel.3
index de69294..047b0e9 100644
--- a/share/man/man3/pthread_testcancel.3
+++ b/share/man/man3/pthread_testcancel.3
@@ -9,6 +9,7 @@
.Nd set cancelability state
.Sh LIBRARY
.Lb libc_r
+.Lb libpthread
.Sh SYNOPSIS
.In pthread.h
.Ft int
OpenPOWER on IntegriCloud