sys_flock(9) suse man page | unix.com

Man Page: sys_flock

Operating Environment: suse

Section: 9

SYS_FLOCK(9)							   The Linux VFS						      SYS_FLOCK(9)

NAME
sys_flock - flock system call.
SYNOPSIS
long sys_flock(unsigned int fd, unsigned int cmd);
ARGUMENTS
fd the file descriptor to lock. cmd the type of lock to apply.
DESCRIPTION
Apply a FL_FLOCK style lock to an open file descriptor. The cmd can be one of LOCK_SH -- a shared lock. LOCK_EX -- an exclusive lock. LOCK_UN -- remove an existing lock. LOCK_MAND -- a `mandatory' flock. This exists to emulate Windows Share Modes. LOCK_MAND can be combined with LOCK_READ or LOCK_WRITE to allow other processes read and write access respectively.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SYS_FLOCK(9)
Related Man Pages
flock(2) - bsd
flock(3ucb) - sunos
flock(2) - ultrix
flock(2) - netbsd
streamwrapper.stream_lock(3) - php
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Update kernel Linux without reboot?!
SOCKS proxy & PAM configuration exposure
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com