|
NAMEVOP_LINK —
create a new name for a file
SYNOPSIS#include <sys/param.h>
#include <sys/vnode.h>
int
DESCRIPTIONThis links a new name in the specified directory to an existing file.Its arguments are:
The pathname info should not be released on exit because it is done by the caller. The directory and file vnodes should not be released on exit. LOCKSVOP_LINK () expects the directory and file vnodes to be
locked on entry and will leave the vnodes locked on return.
RETURN VALUESZero is returned if the file was linked successfully, otherwise an error is returned.ERRORSSEE ALSOvn_lock(9), vnode(9)AUTHORSThis manual page was originally written by Doug Rabson.
Visit the GSP FreeBSD Man Page Interface. |