*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: VOP_ADVLOCK | Section: 9 | Source: FreeBSD | File: VOP_ADVLOCK.9.gz
VOP_ADVLOCK(9) FreeBSD Kernel Developer's Manual VOP_ADVLOCK(9) NAME VOP_ADVLOCK - advisory record locking SYNOPSIS #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 or more of the following: F_WAIT Wait until lock is granted. F_FLOCK Use flock(2) semantics for lock. F_POSIX Use POSIX semantics for lock. F_REMOTE Lock owner is remote NFS client. F_NOINTR Mask signals while waiting for the lock. This entry point manipulates advisory record locks on the file. Most file systems delegate the work for this call to lf_advlock(). 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. FreeBSD 14.1-RELEASE-p8 February 10, 2021 FreeBSD 14.1-RELEASE-p8

Navigation Options