summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1998-11-20 15:15:07 +0000
committerDavid Leonard <d@cvs.openbsd.org>1998-11-20 15:15:07 +0000
commit1994975ed4ae225c05218d9a1cedc514154af1f9 (patch)
tree5f3752ec25e0fb91e1b815314bedd4eee33290f0 /lib/libpthread
parent669656dac3a180cef6cc72a1aa3e8d9b2bd21a2b (diff)
link/mention recently added manual pages
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/Makefile.inc8
-rw-r--r--lib/libpthread/man/pthreads.331
2 files changed, 36 insertions, 3 deletions
diff --git a/lib/libpthread/man/Makefile.inc b/lib/libpthread/man/Makefile.inc
index 8fbdb1c9ccc..f3ff1ba09a2 100644
--- a/lib/libpthread/man/Makefile.inc
+++ b/lib/libpthread/man/Makefile.inc
@@ -1,5 +1,5 @@
-# $Id: Makefile.inc,v 1.2 1998/11/09 03:13:14 d Exp $
-# $OpenBSD: Makefile.inc,v 1.2 1998/11/09 03:13:14 d Exp $
+# $Id: Makefile.inc,v 1.3 1998/11/20 15:15:06 d Exp $
+# $OpenBSD: Makefile.inc,v 1.3 1998/11/20 15:15:06 d Exp $
# POSIX thread man files
@@ -44,5 +44,7 @@ MAN+= pthreads.3 \
sigwait.3
MLINKS+=flockfile.3 funlockfile.3 \
- flockfile.3 ftrylockfile.3
+ flockfile.3 ftrylockfile.3 \
+ pthread_rwlock_rdlock.3 pthread_rwlock_tryrdlock.3 \
+ pthread_rwlock_wrlock.3 pthread_rwlock_trywrlock.3
diff --git a/lib/libpthread/man/pthreads.3 b/lib/libpthread/man/pthreads.3
index a36c6a05754..055033a8dd9 100644
--- a/lib/libpthread/man/pthreads.3
+++ b/lib/libpthread/man/pthreads.3
@@ -53,6 +53,28 @@
.Fn pthread_mutex_unlock "pthread_mutex_t *mutex"
.Ft int
.Fn pthread_once "pthread_once_t *once_control" "void (*init_routine)(void)"
+.Ft int
+.Fn pthread_rwlock_destroy "pthread_rwlock_t *lock"
+.Ft int
+.Fn pthread_rwlock_init "pthread_rwlock_t *lock" "const pthread_rwlockattr_t *attr"
+.Ft int
+.Fn pthread_rwlock_rdlock "pthread_rwlock_t *lock"
+.Ft int
+.Fn pthread_rwlock_tryrdlock "pthread_rwlock_t *lock"
+.Ft int
+.Fn pthread_rwlock_unlock "pthread_rwlock_t *lock"
+.Ft int
+.Fn pthread_rwlock_wrlock "pthread_rwlock_t *lock"
+.Ft int
+.Fn pthread_rwlock_trywrlock "pthread_rwlock_t *lock"
+.Ft int
+.Fn pthread_rwlockattr_destroy "pthread_rwlockattr_t *attr"
+.Ft int
+.Fn pthread_rwlockattr_getpshared "pthread_rwlockattr_t *attr" "int *pshared"
+.Ft int
+.Fn pthread_rwlockattr_init "pthread_rwlockattr_t *attr"
+.Ft int
+.Fn pthread_rwlockattr_setpshared "pthread_rwlockattr_t *attr" "int *pshared"
.Ft pthread_t
.Fn pthread_self "void"
.Ft int
@@ -82,6 +104,15 @@ Steal something from the posix specs to describe what a thread is.
.Xr pthread_mutex_trylock 3 ,
.Xr pthread_mutex_unlock 3 ,
.Xr pthread_once 3 ,
+.Xr pthread_rwlock_destroy 3 ,
+.Xr pthread_rwlock_init 3 ,
+.Xr pthread_rwlock_rdlock.3
+.Xr pthread_rwlock_unlock 3 ,
+.Xr pthread_rwlock_wrlock 3 ,
+.Xr pthread_rwlockattr_destroy 3 ,
+.Xr pthread_rwlockattr_getpshared 3 ,
+.Xr pthread_rwlockattr_init 3 ,
+.Xr pthread_rwlockattr_setpshared 3 ,
.Xr pthread_self 3 ,
.Xr pthread_setspecific 3
.Sh STANDARDS