summaryrefslogtreecommitdiffstats
path: root/share/man/man9/VOP_OPENCLOSE.9
diff options
context:
space:
mode:
authorarr <arr@FreeBSD.org>2001-11-20 18:19:19 +0000
committerarr <arr@FreeBSD.org>2001-11-20 18:19:19 +0000
commitd6a5097acfb786f3b9c7928ff97121c937d194df (patch)
tree34bd49faec8c8950d00eec1ab1e57d65b88ce539 /share/man/man9/VOP_OPENCLOSE.9
parentc58cb395e6c8970b1c3df2de4b29411cc80c467d (diff)
downloadFreeBSD-src-d6a5097acfb786f3b9c7928ff97121c937d194df.zip
FreeBSD-src-d6a5097acfb786f3b9c7928ff97121c937d194df.tar.gz
- Fix a number of man pages broken by the KSE merger.
Diffstat (limited to 'share/man/man9/VOP_OPENCLOSE.9')
-rw-r--r--share/man/man9/VOP_OPENCLOSE.910
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man9/VOP_OPENCLOSE.9 b/share/man/man9/VOP_OPENCLOSE.9
index 0760667..bf3fee8 100644
--- a/share/man/man9/VOP_OPENCLOSE.9
+++ b/share/man/man9/VOP_OPENCLOSE.9
@@ -39,9 +39,9 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn VOP_OPEN "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p"
+.Fn VOP_OPEN "struct vnode *vp" "int mode" "struct ucred *cred" "struct thread *td"
.Ft int
-.Fn VOP_CLOSE "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p"
+.Fn VOP_CLOSE "struct vnode *vp" "int mode" "struct ucred *cred" "struct thread *td"
.Sh DESCRIPTION
The
.Xr VOP_OPEN 9
@@ -55,8 +55,8 @@ The arguments are:
the vnode of the file
.It Ar mode
the access mode required by the calling process
-.It Ar p
-the process which is accessing the file
+.It Ar td
+the thread which is accessing the file
.El
.Pp
The access mode is a set of flags, including
@@ -82,7 +82,7 @@ Zero is returned on success, otherwise an error code is returned.
.Sh PSEUDOCODE
.Bd -literal
int
-vop_open(struct vnode *vp, int mode, struct ucred *cred, struct proc *p)
+vop_open(struct vnode *vp, int mode, struct ucred *cred, struct thread *td)
{
/*
* Most filesystems don't do much here.
OpenPOWER on IntegriCloud