|
NAMEVOP_CREATE , VOP_MKNOD ,
VOP_MKDIR , VOP_SYMLINK
—
create a file, socket, fifo, device, directory or symlink
SYNOPSIS#include <sys/param.h>
#include <sys/vnode.h>
#include <sys/namei.h>
int
int
int
int
DESCRIPTIONThese entry points create a new file, socket, fifo, device, directory or symlink in a given directory.The arguments are:
These entry points are called after VOP_LOOKUP(9) when an object is being created. LOCKSThe directory, dvp will be locked on entry and must remain locked on return. If the call is successful, the new object will be returned locked.RETURN VALUESIf successful, the vnode for the new object is placed in *vpp and zero is returned. Otherwise, an appropriate error is returned.ERRORSSEE ALSOvnode(9), VOP_LOOKUP(9)HISTORYThe functionVOP_CREATE appeared in
4.3BSD.
AUTHORSThis manual page was written by Doug Rabson.
Visit the GSP FreeBSD Man Page Interface. |