FLOCK_LOCK_FILE_WAIT(9) The Linux VFS FLOCK_LOCK_FILE_WAIT(9)

NAME flock_lock_file_wait - Apply a FLOCK-style lock to a file

SYNOPSIS int flock_lock_file_wait(struct file * filp, struct file_lock * fl);

ARGUMENTS filp The file to apply the lock to

fl The lock to be applied

DESCRIPTION Add a FLOCK style lock to a file.

COPYRIGHT Kernel Hackers Manual 2.6. June 2012 FLOCK_LOCK_FILE_WAIT(9)