|
NAMEVOP_LOCK , VOP_UNLOCK ,
VOP_ISLOCKED , vn_lock —
serialize access to a vnode
SYNOPSIS#include <sys/param.h>
#include <sys/lock.h>
#include <sys/vnode.h>
int
int
int
int
DESCRIPTIONThese calls are used to serialize access to the file system, such as to prevent two writes to the same file from happening at the same time.The arguments are:
RETURN VALUESZero is returned on success, otherwise an error is returned.SEE ALSOvnode(9)AUTHORSThis manual page was written by Doug Rabson.
Visit the GSP FreeBSD Man Page Interface. |