Query: posix_lock_file
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
POSIX_LOCK_FILE(9) The Linux VFS POSIX_LOCK_FILE(9)NAMEposix_lock_file - Apply a POSIX-style lock to a fileSYNOPSISint posix_lock_file(struct file * filp, struct file_lock * fl, struct file_lock * conflock);ARGUMENTSfilp The file to apply the lock to fl The lock to be applied conflock Place to return a copy of the conflicting lock, if found.DESCRIPTIONAdd a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting address Note that if called with an FL_EXISTS argument, the caller may determine whether or not a lock was successfully freed by testing the return value for -ENOENT.COPYRIGHTKernel Hackers Manual 3.10 June 2014 POSIX_LOCK_FILE(9)
Related Man Pages |
---|
vfs_lock_file(9) - suse |
vop_advlock(9) - debian |
pthread_rwlock_unlock(3t) - hpux |
vop_advlock(9) - linux |
vop_advlock(9) - redhat |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Weird 'find' results |
How to increment version inside a file? |
CentOS7 restoring file capabilities |
Unsure why access time on a directory change isn't changing |