1 --- lockf.3.orig 2009-11-07 14:51:38.000000000 -0800
2 +++ lockf.3 2009-11-07 14:51:40.000000000 -0800
7 -.Fn lockf "int filedes" "int function" "off_t size"
8 +.Fn lockf "int fildes" "int function" "off_t size"
12 @@ -49,10 +49,10 @@ Calls to
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
25 @@ -207,7 +207,7 @@ or
26 and the section is already locked by another process.
31 is not a valid open file descriptor.
34 @@ -217,7 +217,7 @@ is
40 is not a valid file descriptor open for writing.
43 @@ -236,25 +236,29 @@ was interrupted by the delivery of a sig
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.