Query: sys_flock
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SYS_FLOCK(9) The Linux VFS SYS_FLOCK(9)NAMEsys_flock - flock system call.SYNOPSISlong sys_flock(unsigned int fd, unsigned int cmd);ARGUMENTSfd the file descriptor to lock. cmd the type of lock to apply.DESCRIPTIONApply 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.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SYS_FLOCK(9)
| Related Man Pages |
|---|
| flock(2) - debian |
| flock(2) - centos |
| flock(3ucb) - sunos |
| flock(2) - osx |
| streamwrapper.stream_lock(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| Weird 'find' results |
| Best performance UNIX just for HOST Virtualization? |
| DB2 convert digits to binary format |
| Tar Command |
| CentOS7 restoring file capabilities |