summaryrefslogtreecommitdiffstats
path: root/share/man/man9/lock.9
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2008-01-22 20:16:09 +0000
committerattilio <attilio@FreeBSD.org>2008-01-22 20:16:09 +0000
commit32e7c5ef2f1915dc670cd5443ba274752ae26c58 (patch)
tree491385d19829f7df011f23351db689bdea21b2fb /share/man/man9/lock.9
parent9688ef1c880fa2bce917128f9ee2321d4ec7d9c8 (diff)
downloadFreeBSD-src-32e7c5ef2f1915dc670cd5443ba274752ae26c58.zip
FreeBSD-src-32e7c5ef2f1915dc670cd5443ba274752ae26c58.tar.gz
Add the newly added function lockmgr_recursed() to the manpages.
Diffstat (limited to 'share/man/man9/lock.9')
-rw-r--r--share/man/man9/lock.910
1 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9
index c96dbb2..3d27750 100644
--- a/share/man/man9/lock.9
+++ b/share/man/man9/lock.9
@@ -36,7 +36,8 @@
.Nm lockmgr ,
.Nm lockstatus ,
.Nm lockmgr_disown ,
-.Nm lockmgr_printinfo
+.Nm lockmgr_printinfo ,
+.Nm lockmgr_recursed
.Nd "lockmgr family of functions"
.Sh SYNOPSIS
.In sys/types.h
@@ -55,6 +56,8 @@
.Fn lockmgr_disown "struct lock *lkp"
.Ft void
.Fn lockmgr_printinfo "struct lock *lkp"
+.Ft int
+.Fn lockmgr_recursed "struct lock *lkp"
.Sh DESCRIPTION
The
.Fn lockinit
@@ -201,6 +204,11 @@ function prints debugging information about the lock.
It is used primarily by
.Xr VOP_PRINT 9
functions.
+.Pp
+The
+.Fn lockmgr_recursed
+function returns true if the lock is recursed, 0
+otherwise.
.Sh RETURN VALUES
The
.Fn lockcount
OpenPOWER on IntegriCloud