|
NAMEVOP_VPTOCNP —
translate a vnode to its component name
SYNOPSIS#include <sys/param.h>
#include <sys/ucred.h>
#include <sys/vnode.h>
int
DESCRIPTIONThis translates a vnode into its component name, and writes that name to the head of the buffer specified by buf.
The default implementation of LOCKSThe vnode should be locked on entry and will still be locked on exit. The parent directory vnode will be unlocked on a successful exit. However, it will have its use count incremented.RETURN VALUESZero is returned on success, otherwise an error code is returned.ERRORSSEE ALSOvnode(9), VOP_LOOKUP(9)NOTESThis interface is a work in progress.HISTORYThe functionVOP_VPTOCNP appeared in
FreeBSD 8.0.
AUTHORSThis manual page was written by Joe Marcus Clarke.
Visit the GSP FreeBSD Man Page Interface. |