Module Name:    src
Committed By:   elad
Date:           Sun May 10 14:33:54 UTC 2009

Modified Files:
        src/share/man/man9: file.9

Log Message:
Stub documentation for FILE_LOCK(), FILE_UNLOCK().


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man9/file.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/file.9
diff -u src/share/man/man9/file.9:1.11 src/share/man/man9/file.9:1.12
--- src/share/man/man9/file.9:1.11	Wed Apr 30 13:10:58 2008
+++ src/share/man/man9/file.9	Sun May 10 14:33:54 2009
@@ -1,4 +1,4 @@
-.\"     $NetBSD: file.9,v 1.11 2008/04/30 13:10:58 martin Exp $
+.\"     $NetBSD: file.9,v 1.12 2009/05/10 14:33:54 elad Exp $
 .\"
 .\" Copyright (c) 2002, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 4, 2006
+.Dd May 10, 2009
 .Dt FILE 9
 .Os
 .Sh NAME
@@ -37,7 +37,9 @@
 .Nm FILE_IS_USABLE ,
 .Nm FILE_USE ,
 .Nm FILE_UNUSE ,
-.Nm FILE_SET_MATURE
+.Nm FILE_SET_MATURE ,
+.Nm FILE_LOCK ,
+.Nm FILE_UNLOCK
 .Nd operations on file entries
 .Sh SYNOPSIS
 .In sys/file.h
@@ -53,6 +55,10 @@
 .Fn FILE_UNUSE "struct file *fp" "struct lwp *l"
 .Ft void
 .Fn FILE_SET_MATURE "struct file *fp"
+.Ft void
+.Fn FILE_LOCK "struct file *fp"
+.Ft void
+.Fn FILE_UNLOCK "struct file *fp"
 .Sh DESCRIPTION
 The file descriptor table of a process references a file entry for
 each file used by the kernel.
@@ -241,6 +247,12 @@
 Mark the file entry as being fully constructed (mature) by clearing
 the FIF_LARVAL flag in
 .Em f_iflags .
+.It Fn FILE_LOCK "fp"
+Locks the file entry
+.Ar fp .
+.It Fn FILE_UNLOCK "fp"
+Unlocks the file entry
+.Ar fp .
 .El
 .Sh CODE REFERENCES
 This section describes places within the

Reply via email to