SysTutorials

Linux Manual Pages › Section 9

flock_lock_inode_wait(9)

flock_lock_inode_wait - Apply a FLOCK-style lock to a file

Synopsis

int flock_lock_inode_wait(struct inode *inode, struct file_lock *fl);

Arguments

inode

inode of the file to apply to

fl

The lock to be applied

Description

Apply a FLOCK style lock request to an inode.

Copyright