aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/VOP_VPTOCNP.9
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2009-03-30 20:56:37 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2009-03-30 20:56:37 +0000
commit6283502e204c05cf69599da0c5eba9fd4fd1e7cb (patch)
tree0bd177c2c20120877ec7daa02b1f1adcbf8657bc /share/man/man9/VOP_VPTOCNP.9
parent584f7327f1b6e4e227f4601423dfebd48e110e23 (diff)
downloadsrc-6283502e204c05cf69599da0c5eba9fd4fd1e7cb.tar.gz
src-6283502e204c05cf69599da0c5eba9fd4fd1e7cb.zip
Remove pseudocode from VOP_* manual pages. It was out of date anyway.
Reviewed by: scottl Approved by: rwatson (mentor)
Notes
Notes: svn path=/head/; revision=190573
Diffstat (limited to 'share/man/man9/VOP_VPTOCNP.9')
-rw-r--r--share/man/man9/VOP_VPTOCNP.924
1 files changed, 0 insertions, 24 deletions
diff --git a/share/man/man9/VOP_VPTOCNP.9 b/share/man/man9/VOP_VPTOCNP.9
index 295bab9d1150..892b4a64ae00 100644
--- a/share/man/man9/VOP_VPTOCNP.9
+++ b/share/man/man9/VOP_VPTOCNP.9
@@ -70,30 +70,6 @@ parent directory vnode will be unlocked on a successful exit. However, it
will have its hold count incremented.
.Sh RETURN VALUES
Zero is returned on success, otherwise an error code is returned.
-.Sh PSEUDOCODE
-.Bd -literal
-int
-vop_vptocnp(struct vnode *vp, struct vnode **dvp, char *buf, int *buflen)
-{
- int error = 0;
-
- /*
- * Translate the vnode to its component name.
- *
- * Decrement the component name's length from buflen.
- *
- * Obtain the vnode's parent directory vnode.
- */
- ...;
-
- /*
- * Increment the parent directory's hold count.
- */
- vhold(*dvp);
-
- return error;
-}
-.Ed
.Sh ERRORS
.Bl -tag -width Er
.It Bq Er ENOMEM