Query: lock_may_read
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LOCK_MAY_READ(9) The Linux VFS LOCK_MAY_READ(9)NAMElock_may_read - checks that the region is free of locksSYNOPSISint lock_may_read(struct inode * inode, loff_t start, unsigned long len);ARGUMENTSinode the inode that is being read start the first byte to read len the number of bytes to readDESCRIPTIONEmulates Windows locking requirements. Whole-file mandatory locks (share modes) can prohibit a read and byte-range POSIX locks can prohibit a read if they overlap. N.B. this function is only ever called from knfsd and ownership of locks is never checked.COPYRIGHTKernel Hackers Manual 3.10 June 2014 LOCK_MAY_READ(9)
| Related Man Pages |
|---|
| struct_uio_info(9) - centos |
| vfs_lock_file(9) - centos |
| lockf(3) - redhat |
| clri(8) - osx |
| lockf(3) - bsd |
| Similar Topics in the Unix Linux Community |
|---|
| Weird 'find' results |
| DB2 convert digits to binary format |
| Docker learning Phase-I |
| Controlling user input |
| Please Welcome Dave Munro to the Moderator Team! |