NAME
VOP_ADVLOCK — advisory record lockingSYNOPSIS
#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);
DESCRIPTION
The arguments are:- vp
- The vnode being manipulated.
- id
- The id token which is changing the lock.
- op
- The operation to perform (see fcntl(2)).
- fl
- Description of the lock.
- flags
- One of more of the following:
RETURN VALUES
Zero is returned on success, otherwise an error is returned.SEE ALSO
fcntl(2), flock(2), vnode(9)AUTHORS
This manual page was written by Doug Rabson.May 27, 2019 | Debian |