VOP_ADVLOCK(9) | Kernel Developer's Manual | VOP_ADVLOCK(9) |
VOP_ADVLOCK
—
advisory record locking
#include
<sys/param.h>
#include <sys/vnode.h>
#include <sys/fcntl.h>
#include <sys/lockf.h>
int
VOP_ADVLOCK
(struct
vnode *vp, caddr_t
id, int op,
struct flock *fl,
int flags);
The arguments are:
This entry point manipulates advisory record locks
on the file. Most file systems delegate the work for this call to
lf_advlock
().
Zero is returned on success, otherwise an error is returned.
This manual page was written by Doug Rabson.
June 30, 1999 | Debian |