summaryrefslogtreecommitdiffstats
path: root/share/man/man9/VOP_OPENCLOSE.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-24 13:41:48 +0000
committerru <ru@FreeBSD.org>2002-12-24 13:41:48 +0000
commit4979ab8d816b8ab1d2eb74e7179f8f63e04f0972 (patch)
tree3a2594ccf0dfa39e2b9d787edfbc673670ae29da /share/man/man9/VOP_OPENCLOSE.9
parenta59d939300a476e89fd904d21bef510b0d7f7da0 (diff)
downloadFreeBSD-src-4979ab8d816b8ab1d2eb74e7179f8f63e04f0972.zip
FreeBSD-src-4979ab8d816b8ab1d2eb74e7179f8f63e04f0972.tar.gz
mdoc(7) police: Deal with self-xrefs.
Diffstat (limited to 'share/man/man9/VOP_OPENCLOSE.9')
-rw-r--r--share/man/man9/VOP_OPENCLOSE.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/VOP_OPENCLOSE.9 b/share/man/man9/VOP_OPENCLOSE.9
index 5c1be6c..45a046f 100644
--- a/share/man/man9/VOP_OPENCLOSE.9
+++ b/share/man/man9/VOP_OPENCLOSE.9
@@ -44,9 +44,9 @@
.Fn VOP_CLOSE "struct vnode *vp" "int mode" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
The
-.Xr VOP_OPEN 9
+.Fn VOP_OPEN
entry point is called before a file is accessed by a process and the
-.Xr VOP_CLOSE 9
+.Fn VOP_CLOSE
entry point is called after a file is finished with by the process.
.Pp
The arguments are:
@@ -65,12 +65,12 @@ The access mode is a set of flags, including
.Dv O_NONBLOCK ,
.Dv O_APPEND .
.Sh LOCKS
-.Xr VOP_OPEN 9
+.Fn VOP_OPEN
expects
.Fa vp
to be locked on entry and will leave it locked on return.
.Pp
-.Xr VOP_CLOSE 9
+.Fn VOP_CLOSE
expects at least a reference to be associated with the vnode and does not
care whether the vnode is locked or not. The lock and reference state is
left unchanged on return. Note that
OpenPOWER on IntegriCloud