1 --- lockf.3 2004-11-25 11:38:01.000000000 -0800
2 +++ lockf.3.edit 2006-07-15 14:04:01.000000000 -0700
7 -.Fn lockf "int filedes" "int function" "off_t size"
8 +.Fn lockf "int fildes" "int function" "off_t size"
14 from other processes which attempt to lock the locked file section will
15 either return an error value or block until the section becomes unlocked.
16 -All the locks for a process are removed when the process terminates.
17 +All of the locks for a process are removed when the process terminates.
22 is an open file descriptor.
23 The file descriptor must have been opened either for write-only
26 and the section is already locked by another process.
31 is not a valid open file descriptor.
40 is not a valid file descriptor open for writing.
58 -refers to a file that does not support locking.
60 +refers to a file that does not support advisory locking.
72 and satisfying the lock or unlock request would result in the number
73 of locked regions in the system exceeding a system-imposed limit.
77 +refers to a socket; these do not support advisory locking.