diff options
author | trasz <trasz@FreeBSD.org> | 2009-03-30 20:56:37 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-03-30 20:56:37 +0000 |
commit | 369dfb5670f24cf9f27d3b0d4949c570bb2907b8 (patch) | |
tree | 0bd177c2c20120877ec7daa02b1f1adcbf8657bc /share/man/man9/VOP_VPTOCNP.9 | |
parent | 17f31804478d7c687653b106a7fa0648e81eb417 (diff) | |
download | FreeBSD-src-369dfb5670f24cf9f27d3b0d4949c570bb2907b8.zip FreeBSD-src-369dfb5670f24cf9f27d3b0d4949c570bb2907b8.tar.gz |
Remove pseudocode from VOP_* manual pages. It was out of date anyway.
Reviewed by: scottl
Approved by: rwatson (mentor)
Diffstat (limited to 'share/man/man9/VOP_VPTOCNP.9')
-rw-r--r-- | share/man/man9/VOP_VPTOCNP.9 | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/share/man/man9/VOP_VPTOCNP.9 b/share/man/man9/VOP_VPTOCNP.9 index 295bab9..892b4a6 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 |