diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-08-16 10:19:01 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-08-16 10:19:01 +0000 |
commit | 0be527920be506885b8532fffc1f448cd9ff1b5d (patch) | |
tree | c5f4ef739c6e57989f52719822c34cf3bd0bf68b /share | |
parent | 84ce64c17134f6f55f4796921fb71f18b087a0f9 (diff) |
document the name argument to rw_init.
ok mbalmer@ jmc@ pedro@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/rwlock.9 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man9/rwlock.9 b/share/man/man9/rwlock.9 index 6e7e2bb32cf..70b10371b72 100644 --- a/share/man/man9/rwlock.9 +++ b/share/man/man9/rwlock.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rwlock.9,v 1.2 2006/05/07 20:15:06 tedu Exp $ +.\" $OpenBSD: rwlock.9,v 1.3 2006/08/16 10:19:00 dlg Exp $ .\" .\" Copyright (c) 2006 Pedro Martelletto <pedro@openbsd.org> .\" All rights reserved. @@ -48,6 +48,10 @@ The .Fn rw_init function is used to initiate the lock pointed to by .Fa rwl . +The +.Fa name +argument specifies the name of the lock, which is used as the wait message +if the process needs to sleep. .Pp The .Fn rw_enter_read |