Module Name: src
Committed By: wiz
Date: Thu May 28 09:32:18 UTC 2009
Modified Files:
src/share/man/man9: vnsubr.9
Log Message:
Use Dv in more places.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/share/man/man9/vnsubr.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/vnsubr.9
diff -u src/share/man/man9/vnsubr.9:1.36 src/share/man/man9/vnsubr.9:1.37
--- src/share/man/man9/vnsubr.9:1.36 Thu May 28 06:49:30 2009
+++ src/share/man/man9/vnsubr.9 Thu May 28 09:32:17 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: vnsubr.9,v 1.36 2009/05/28 06:49:30 jnemeth Exp $
+.\" $NetBSD: vnsubr.9,v 1.37 2009/05/28 09:32:17 wiz Exp $
.\"
.\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -156,7 +156,9 @@
.Fa vp
as being the text of a running process.
.It Fn vn_setrecurse "vp"
-Common code to enable LK_CANRECURSE on the vnode lock for vnode
+Common code to enable
+.Dv LK_CANRECURSE
+on the vnode lock for vnode
.Fa vp .
.Fn vn_setrecurse
returns the new
@@ -191,7 +193,10 @@
then perform the I/O.
The argument
.Fa rw
-specifies whether the I/O is a read (UIO_READ) or write (UIO_WRITE)
+specifies whether the I/O is a read
+.Pq Dv UIO_READ
+or write
+.Pq Dv UIO_WRITE
operation.
The vnode is specified by
.Fa vp .
@@ -203,13 +208,11 @@
If
.Fa ioflg
contains
-.Dq IO_NODELOCKED ,
+.Dv IO_NODELOCKED ,
it is expected that the vnode is locked.
.Fa ioflg
will be passed to
-.Fn VOP_READ
-/
-.Fn VOP_WRITE .
+.Fn VOP_READ Ns No / Ns Fn VOP_WRITE .
The remaining arguments specify the uio parameters.
For further information on these parameters see
.Xr uiomove 9 .
@@ -230,7 +233,9 @@
.Fa cookies
and
.Fa ncookies
-should be NULL is they aren't required to be returned by
+should be
+.Dv NULL
+is they aren't required to be returned by
.Fn vn_readdir .
If the operation is successful zero is returned, otherwise an
appropriate error code is returned.