summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/pthread_cancel.32
-rw-r--r--lib/libpthread/man/pthread_cleanup_pop.32
-rw-r--r--lib/libpthread/man/pthread_cleanup_push.32
-rw-r--r--lib/libpthread/man/pthread_cond_broadcast.32
-rw-r--r--lib/libpthread/man/pthread_cond_destroy.32
-rw-r--r--lib/libpthread/man/pthread_cond_init.32
-rw-r--r--lib/libpthread/man/pthread_cond_signal.32
-rw-r--r--lib/libpthread/man/pthread_cond_timedwait.32
-rw-r--r--lib/libpthread/man/pthread_cond_wait.32
-rw-r--r--lib/libpthread/man/pthread_create.32
-rw-r--r--lib/libpthread/man/pthread_detach.32
-rw-r--r--lib/libpthread/man/pthread_equal.32
-rw-r--r--lib/libpthread/man/pthread_exit.32
-rw-r--r--lib/libpthread/man/pthread_getspecific.32
-rw-r--r--lib/libpthread/man/pthread_join.32
-rw-r--r--lib/libpthread/man/pthread_key_create.32
-rw-r--r--lib/libpthread/man/pthread_key_delete.32
-rw-r--r--lib/libpthread/man/pthread_mutex_destroy.32
-rw-r--r--lib/libpthread/man/pthread_mutex_init.32
-rw-r--r--lib/libpthread/man/pthread_mutex_lock.32
-rw-r--r--lib/libpthread/man/pthread_mutex_trylock.32
-rw-r--r--lib/libpthread/man/pthread_mutex_unlock.32
-rw-r--r--lib/libpthread/man/pthread_once.32
-rw-r--r--lib/libpthread/man/pthread_rwlock_destroy.32
-rw-r--r--lib/libpthread/man/pthread_rwlock_init.32
-rw-r--r--lib/libpthread/man/pthread_rwlock_rdlock.32
-rw-r--r--lib/libpthread/man/pthread_rwlock_unlock.32
-rw-r--r--lib/libpthread/man/pthread_rwlock_wrlock.32
-rw-r--r--lib/libpthread/man/pthread_rwlockattr_destroy.32
-rw-r--r--lib/libpthread/man/pthread_rwlockattr_getpshared.32
-rw-r--r--lib/libpthread/man/pthread_rwlockattr_init.32
-rw-r--r--lib/libpthread/man/pthread_rwlockattr_setpshared.32
-rw-r--r--lib/libpthread/man/pthread_self.32
-rw-r--r--lib/libpthread/man/pthread_setspecific.32
-rw-r--r--lib/libpthread/man/pthread_testcancel.32
-rw-r--r--lib/libpthread/man/sem_destroy.32
-rw-r--r--lib/libpthread/man/sem_getvalue.32
-rw-r--r--lib/libpthread/man/sem_init.32
-rw-r--r--lib/libpthread/man/sem_open.32
-rw-r--r--lib/libpthread/man/sem_post.32
-rw-r--r--lib/libpthread/man/sem_wait.32
41 files changed, 82 insertions, 0 deletions
diff --git a/lib/libpthread/man/pthread_cancel.3 b/lib/libpthread/man/pthread_cancel.3
index dd03f61..9a741d8 100644
--- a/lib/libpthread/man/pthread_cancel.3
+++ b/lib/libpthread/man/pthread_cancel.3
@@ -5,6 +5,8 @@
.Sh NAME
.Nm pthread_cancel
.Nd cancel execution of a thread
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_cleanup_pop.3 b/lib/libpthread/man/pthread_cleanup_pop.3
index 009a85e..a2f7894 100644
--- a/lib/libpthread/man/pthread_cleanup_pop.3
+++ b/lib/libpthread/man/pthread_cleanup_pop.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_cleanup_pop
.Nd call the first cleanup routine
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft void
diff --git a/lib/libpthread/man/pthread_cleanup_push.3 b/lib/libpthread/man/pthread_cleanup_push.3
index 4f260af..103daa6 100644
--- a/lib/libpthread/man/pthread_cleanup_push.3
+++ b/lib/libpthread/man/pthread_cleanup_push.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_cleanup_push
.Nd add a cleanup function for thread exit
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft void
diff --git a/lib/libpthread/man/pthread_cond_broadcast.3 b/lib/libpthread/man/pthread_cond_broadcast.3
index 6112695..c380ece 100644
--- a/lib/libpthread/man/pthread_cond_broadcast.3
+++ b/lib/libpthread/man/pthread_cond_broadcast.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_cond_broadcast
.Nd unblock all threads waiting for a condition variable
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_cond_destroy.3 b/lib/libpthread/man/pthread_cond_destroy.3
index a9c4a9d..bf8bbf3 100644
--- a/lib/libpthread/man/pthread_cond_destroy.3
+++ b/lib/libpthread/man/pthread_cond_destroy.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_cond_destroy
.Nd destroy a condition variable
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_cond_init.3 b/lib/libpthread/man/pthread_cond_init.3
index 2783672..6c7ccca 100644
--- a/lib/libpthread/man/pthread_cond_init.3
+++ b/lib/libpthread/man/pthread_cond_init.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_cond_init
.Nd create a condition variable
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_cond_signal.3 b/lib/libpthread/man/pthread_cond_signal.3
index e3a22f8..7ad985e 100644
--- a/lib/libpthread/man/pthread_cond_signal.3
+++ b/lib/libpthread/man/pthread_cond_signal.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_cond_signal
.Nd unblock a thread waiting for a condition variable
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_cond_timedwait.3 b/lib/libpthread/man/pthread_cond_timedwait.3
index 15f4bb3..a5fa52b 100644
--- a/lib/libpthread/man/pthread_cond_timedwait.3
+++ b/lib/libpthread/man/pthread_cond_timedwait.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_cond_timedwait
.Nd wait on a condition variable for a specific amount of time
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_cond_wait.3 b/lib/libpthread/man/pthread_cond_wait.3
index e93114c..9d70318 100644
--- a/lib/libpthread/man/pthread_cond_wait.3
+++ b/lib/libpthread/man/pthread_cond_wait.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_cond_wait
.Nd wait on a condition variable
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_create.3 b/lib/libpthread/man/pthread_create.3
index 3e1ed04..2f760d0 100644
--- a/lib/libpthread/man/pthread_create.3
+++ b/lib/libpthread/man/pthread_create.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_create
.Nd create a new thread
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_detach.3 b/lib/libpthread/man/pthread_detach.3
index 120248d..05154fc 100644
--- a/lib/libpthread/man/pthread_detach.3
+++ b/lib/libpthread/man/pthread_detach.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_detach
.Nd detach a thread
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_equal.3 b/lib/libpthread/man/pthread_equal.3
index 5d443b3..9e9f5c7 100644
--- a/lib/libpthread/man/pthread_equal.3
+++ b/lib/libpthread/man/pthread_equal.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_equal
.Nd compare thread IDs
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_exit.3 b/lib/libpthread/man/pthread_exit.3
index a5ff1b9..491856e 100644
--- a/lib/libpthread/man/pthread_exit.3
+++ b/lib/libpthread/man/pthread_exit.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_exit
.Nd terminate the calling thread
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft void
diff --git a/lib/libpthread/man/pthread_getspecific.3 b/lib/libpthread/man/pthread_getspecific.3
index a562541..9900d29 100644
--- a/lib/libpthread/man/pthread_getspecific.3
+++ b/lib/libpthread/man/pthread_getspecific.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_getspecific
.Nd get a thread-specific data value
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft void *
diff --git a/lib/libpthread/man/pthread_join.3 b/lib/libpthread/man/pthread_join.3
index 2e5ae40..d6a42e5 100644
--- a/lib/libpthread/man/pthread_join.3
+++ b/lib/libpthread/man/pthread_join.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_join
.Nd wait for thread termination
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_key_create.3 b/lib/libpthread/man/pthread_key_create.3
index 376ecf2..f6a1d9c 100644
--- a/lib/libpthread/man/pthread_key_create.3
+++ b/lib/libpthread/man/pthread_key_create.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_key_create
.Nd thread-specific data key creation
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_key_delete.3 b/lib/libpthread/man/pthread_key_delete.3
index 25f110f..e735eb6 100644
--- a/lib/libpthread/man/pthread_key_delete.3
+++ b/lib/libpthread/man/pthread_key_delete.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_key_delete
.Nd delete a thread-specific data key
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_mutex_destroy.3 b/lib/libpthread/man/pthread_mutex_destroy.3
index 517d6eb..87384dc 100644
--- a/lib/libpthread/man/pthread_mutex_destroy.3
+++ b/lib/libpthread/man/pthread_mutex_destroy.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_mutex_destroy
.Nd free resources allocated for a mutex
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_mutex_init.3 b/lib/libpthread/man/pthread_mutex_init.3
index 926b034..ba19e3b 100644
--- a/lib/libpthread/man/pthread_mutex_init.3
+++ b/lib/libpthread/man/pthread_mutex_init.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_mutex_init
.Nd create a mutex
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_mutex_lock.3 b/lib/libpthread/man/pthread_mutex_lock.3
index 3647373..0c6419a 100644
--- a/lib/libpthread/man/pthread_mutex_lock.3
+++ b/lib/libpthread/man/pthread_mutex_lock.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_mutex_lock
.Nd lock a mutex
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_mutex_trylock.3 b/lib/libpthread/man/pthread_mutex_trylock.3
index 30faaa8..268a558 100644
--- a/lib/libpthread/man/pthread_mutex_trylock.3
+++ b/lib/libpthread/man/pthread_mutex_trylock.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_mutex_trylock
.Nd attempt to lock a mutex without blocking
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_mutex_unlock.3 b/lib/libpthread/man/pthread_mutex_unlock.3
index 27a4c33..29d5c61 100644
--- a/lib/libpthread/man/pthread_mutex_unlock.3
+++ b/lib/libpthread/man/pthread_mutex_unlock.3
@@ -33,6 +33,8 @@
.Sh NAME
.Nm pthread_mutex_unlock
.Nd unlock a mutex
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_once.3 b/lib/libpthread/man/pthread_once.3
index 8cd894a..af203fc 100644
--- a/lib/libpthread/man/pthread_once.3
+++ b/lib/libpthread/man/pthread_once.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_once
.Nd dynamic package initialization
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Pp
diff --git a/lib/libpthread/man/pthread_rwlock_destroy.3 b/lib/libpthread/man/pthread_rwlock_destroy.3
index 14691c4..bd1bfe8 100644
--- a/lib/libpthread/man/pthread_rwlock_destroy.3
+++ b/lib/libpthread/man/pthread_rwlock_destroy.3
@@ -30,6 +30,8 @@
.Sh NAME
.Nm pthread_rwlock_destroy
.Nd destroy a read/write lock
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_rwlock_init.3 b/lib/libpthread/man/pthread_rwlock_init.3
index 306af61..128f5d1 100644
--- a/lib/libpthread/man/pthread_rwlock_init.3
+++ b/lib/libpthread/man/pthread_rwlock_init.3
@@ -30,6 +30,8 @@
.Sh NAME
.Nm pthread_rwlock_init
.Nd initialize a read/write lock
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_rwlock_rdlock.3 b/lib/libpthread/man/pthread_rwlock_rdlock.3
index bea219d..d3ec9ef 100644
--- a/lib/libpthread/man/pthread_rwlock_rdlock.3
+++ b/lib/libpthread/man/pthread_rwlock_rdlock.3
@@ -31,6 +31,8 @@
.Nm pthread_rwlock_rdlock ,
.Nm pthread_rwlock_tryrdlock
.Nd acquire a read/write lock for reading
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_rwlock_unlock.3 b/lib/libpthread/man/pthread_rwlock_unlock.3
index 7ad52b2..f99b955 100644
--- a/lib/libpthread/man/pthread_rwlock_unlock.3
+++ b/lib/libpthread/man/pthread_rwlock_unlock.3
@@ -30,6 +30,8 @@
.Sh NAME
.Nm pthread_rwlock_unlock
.Nd release a read/write lock
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_rwlock_wrlock.3 b/lib/libpthread/man/pthread_rwlock_wrlock.3
index b6a2312..149a7a0 100644
--- a/lib/libpthread/man/pthread_rwlock_wrlock.3
+++ b/lib/libpthread/man/pthread_rwlock_wrlock.3
@@ -31,6 +31,8 @@
.Nm pthread_rwlock_wrlock ,
.Nm pthread_rwlock_trywrlock
.Nd acquire a read/write lock for writing
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_rwlockattr_destroy.3 b/lib/libpthread/man/pthread_rwlockattr_destroy.3
index 2d67041..80db1a9 100644
--- a/lib/libpthread/man/pthread_rwlockattr_destroy.3
+++ b/lib/libpthread/man/pthread_rwlockattr_destroy.3
@@ -30,6 +30,8 @@
.Sh NAME
.Nm pthread_rwlockattr_destroy
.Nd destroy a read/write lock
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_rwlockattr_getpshared.3 b/lib/libpthread/man/pthread_rwlockattr_getpshared.3
index d2028dc..7637a4f 100644
--- a/lib/libpthread/man/pthread_rwlockattr_getpshared.3
+++ b/lib/libpthread/man/pthread_rwlockattr_getpshared.3
@@ -30,6 +30,8 @@
.Sh NAME
.Nm pthread_rwlockattr_getpshared
.Nd get the process shared attribute
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_rwlockattr_init.3 b/lib/libpthread/man/pthread_rwlockattr_init.3
index ac19126..c355104 100644
--- a/lib/libpthread/man/pthread_rwlockattr_init.3
+++ b/lib/libpthread/man/pthread_rwlockattr_init.3
@@ -30,6 +30,8 @@
.Sh NAME
.Nm pthread_rwlockattr_init
.Nd initialize a read/write lock
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_rwlockattr_setpshared.3 b/lib/libpthread/man/pthread_rwlockattr_setpshared.3
index 4e4b158..b2c16eb 100644
--- a/lib/libpthread/man/pthread_rwlockattr_setpshared.3
+++ b/lib/libpthread/man/pthread_rwlockattr_setpshared.3
@@ -30,6 +30,8 @@
.Sh NAME
.Nm pthread_rwlockattr_setpshared
.Nd set the process shared attribute
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_self.3 b/lib/libpthread/man/pthread_self.3
index be524b9..c196875 100644
--- a/lib/libpthread/man/pthread_self.3
+++ b/lib/libpthread/man/pthread_self.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_self
.Nd get the calling thread's ID
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft pthread_t
diff --git a/lib/libpthread/man/pthread_setspecific.3 b/lib/libpthread/man/pthread_setspecific.3
index ca141de..2ab28de 100644
--- a/lib/libpthread/man/pthread_setspecific.3
+++ b/lib/libpthread/man/pthread_setspecific.3
@@ -36,6 +36,8 @@
.Sh NAME
.Nm pthread_setspecific
.Nd set a thread-specific data value
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/pthread_testcancel.3 b/lib/libpthread/man/pthread_testcancel.3
index d911d2c..c1bbc7d 100644
--- a/lib/libpthread/man/pthread_testcancel.3
+++ b/lib/libpthread/man/pthread_testcancel.3
@@ -7,6 +7,8 @@
.Nm pthread_setcanceltype ,
.Nm pthread_testcancel
.Nd set cancelability state
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
diff --git a/lib/libpthread/man/sem_destroy.3 b/lib/libpthread/man/sem_destroy.3
index 770349d..59889a2 100644
--- a/lib/libpthread/man/sem_destroy.3
+++ b/lib/libpthread/man/sem_destroy.3
@@ -32,6 +32,8 @@
.Sh NAME
.Nm sem_destroy
.Nd destroy an unnamed semaphore
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <semaphore.h>
.Ft int
diff --git a/lib/libpthread/man/sem_getvalue.3 b/lib/libpthread/man/sem_getvalue.3
index be0cbae..bc71e4d 100644
--- a/lib/libpthread/man/sem_getvalue.3
+++ b/lib/libpthread/man/sem_getvalue.3
@@ -32,6 +32,8 @@
.Sh NAME
.Nm sem_getvalue
.Nd get the value of a semaphore
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <semaphore.h>
.Ft int
diff --git a/lib/libpthread/man/sem_init.3 b/lib/libpthread/man/sem_init.3
index 059a9c6..bc5a5dd 100644
--- a/lib/libpthread/man/sem_init.3
+++ b/lib/libpthread/man/sem_init.3
@@ -32,6 +32,8 @@
.Sh NAME
.Nm sem_init
.Nd initialize an unnamed semaphore
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <semaphore.h>
.Ft int
diff --git a/lib/libpthread/man/sem_open.3 b/lib/libpthread/man/sem_open.3
index a4729f9..b2fe7ff 100644
--- a/lib/libpthread/man/sem_open.3
+++ b/lib/libpthread/man/sem_open.3
@@ -34,6 +34,8 @@
.Nm sem_close ,
.Nm sem_unlink
.Nd named semaphore operations
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <semaphore.h>
.Ft sem_t *
diff --git a/lib/libpthread/man/sem_post.3 b/lib/libpthread/man/sem_post.3
index c578e6d..ee8d7e5 100644
--- a/lib/libpthread/man/sem_post.3
+++ b/lib/libpthread/man/sem_post.3
@@ -32,6 +32,8 @@
.Sh NAME
.Nm sem_post
.Nd increment (unlock) a semaphore
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <semaphore.h>
.Ft int
diff --git a/lib/libpthread/man/sem_wait.3 b/lib/libpthread/man/sem_wait.3
index c60c8ee..9c4107e 100644
--- a/lib/libpthread/man/sem_wait.3
+++ b/lib/libpthread/man/sem_wait.3
@@ -33,6 +33,8 @@
.Nm sem_wait ,
.Nm sem_trywait
.Nd decrement (lock) a semaphore
+.Sh LIBRARY
+.Lb libc_r
.Sh SYNOPSIS
.Fd #include <semaphore.h>
.Ft int
OpenPOWER on IntegriCloud