NAME lockf - apply, test or remove a POSIX lock on an open file LIBRARY Standard ... library ( libc , -lc ) SYNOPSIS #include int lockf(int fd , int op , off_t len ); FeaturePOSIX (created with fcntl (2) and lockf (3)) or OFDLCK (created with fcntl (2)). SIZE ... [email protected]> SEE ALSO flock (1), fcntl (2), lockf (3) REPORTING BUGS For bug reportsfcntl() F_SETLKW fdatasync() fsync() getmsg() getpmsg() lockf() F_LOCK mq_receive() mq_send ... listio() [Added in POSIX.1-2008] localtime() localtime_r() lockf() [Added in POSIX.1…done by functions like flock (2) and lockf (3).) All this is invisiblefcntl (2), fork (2), open (2), lockf (3), lslocks (8) Documentation/filesystems/locks.txt in the Linux kerneldone by functions like flock (2) and lockf (3).) All this is invisibledone by functions like flock (2) and lockf (3).) All this is invisiblefile_range (2), truncate (2), fseeko (3), lockf (3), lseek64 (3), posix_fallocate (3), featureflock (2), open (2), socket (2), lockf (3), capabilities (7), feature_test_macros (7), lslocksfile_range (2), truncate (2), fseeko (3), lockf (3), lseek64 (3), posix_fallocate (3), featureflock (2), open (2), socket (2), lockf (3), capabilities (7), feature_test_macros (7), lslocksfile_range (2), truncate (2), fseeko (3), lockf (3), lseek64 (3), posix_fallocate (3), feature