summaryrefslogtreecommitdiff
path: root/share/man/man9/rwlock.9
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2014-07-09 18:00:10 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2014-07-09 18:00:10 +0000
commitb7eb8e9dc2eeae2e1f48d4a99257e1eb9051a529 (patch)
tree01a6ca0925fd5702d4553b76581ff09af6809da7 /share/man/man9/rwlock.9
parentdeaef66039d8673863f1f52c8a84bb90cc3bccde (diff)
sort out the MLINKS mess, and tweak previous a bit;
Diffstat (limited to 'share/man/man9/rwlock.9')
-rw-r--r--share/man/man9/rwlock.912
1 files changed, 7 insertions, 5 deletions
diff --git a/share/man/man9/rwlock.9 b/share/man/man9/rwlock.9
index f171545b65e..57680476300 100644
--- a/share/man/man9/rwlock.9
+++ b/share/man/man9/rwlock.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rwlock.9,v 1.16 2014/07/09 13:43:25 guenther Exp $
+.\" $OpenBSD: rwlock.9,v 1.17 2014/07/09 18:00:09 jmc Exp $
.\"
.\" Copyright (c) 2006 Pedro Martelletto <pedro@ambientworks.net>
.\" All rights reserved.
@@ -31,7 +31,11 @@
.Nm rw_assert_rdlock ,
.Nm rw_assert_unlocked ,
.Nm rw_status ,
-.Nm RWLOCK_INITIALIZER
+.Nm RWLOCK_INITIALIZER ,
+.Nm rrw_init ,
+.Nm rrw_enter ,
+.Nm rrw_exit ,
+.Nm rrw_status
.Nd interface to read/write locks
.Sh SYNOPSIS
.In sys/rwlock.h
@@ -50,8 +54,6 @@
.Ft void
.Fn rw_exit_write "struct rwlock *rwl"
.Ft int
-.Fn rw_status "struct rwlock *rwl"
-.Ft void
.Fn rw_assert_wrlock "struct rwlock *rwl"
.Ft void
.Fn rw_assert_rdlock "struct rwlock *rwl"
@@ -172,7 +174,7 @@ if the thread needs to sleep.
The
.Nm rrwlock
functions support recursive write locking by the same process.
-They otherwise behavior equivalently to their rwlock counterparts.
+They otherwise behave the same as their rwlock counterparts.
.Sh CONTEXT
.Fn rw_init
and