|
NAMEVOP_RENAME —
rename a file
SYNOPSIS#include <sys/param.h>
#include <sys/vnode.h>
int
DESCRIPTIONThis renames a file and possibly changes its parent directory. If the destination object exists, it will be removed first.Its arguments are:
LOCKSThe source directory and file are unlocked but are expected to have their ref count bumped on entry. The VOP routine is expected to vrele(9) both prior to returning.The destination directory and file are locked as well as having their ref count bumped. The VOP routine is expected to vput(9) both prior to returning. ERRORS
SEE ALSOvnode(9)AUTHORSThis manual page was written by Doug Rabson.
Visit the GSP FreeBSD Man Page Interface. |