table of contents
other versions
- wheezy 3.2.78-1
POSIX_LOCK_FILE_WAIT(9) | The Linux VFS | POSIX_LOCK_FILE_WAIT(9) |
NAME¶
posix_lock_file_wait - Apply a POSIX-style lock to a fileSYNOPSIS¶
int
posix_lock_file_wait(struct file * filp,
struct file_lock * fl);
ARGUMENTS¶
filpThe file to apply the lock to
fl
The lock to be applied
DESCRIPTION¶
Add a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting addressCOPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |