vfs_test_lock(9) suse man page | unix.com

Man Page: vfs_test_lock

Operating Environment: suse

Section: 9

VFS_TEST_LOCK(9)						   The Linux VFS						  VFS_TEST_LOCK(9)

NAME
vfs_test_lock - test file byte range lock
SYNOPSIS
int vfs_test_lock(struct file * filp, struct file_lock * fl);
ARGUMENTS
filp The file to test lock for fl The lock to test; also used to hold result
DESCRIPTION
Returns -ERRNO on failure. Indicates presence of conflicting lock by setting conf->fl_type to something other than F_UNLCK.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 VFS_TEST_LOCK(9)
Related Man Pages
vfs_lock_file(9) - suse
flock(3) - debian
lock_done(9r) - osf1
vop_advlock(9) - freebsd
vop_advlock(9) - php
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB