Lines Matching +full:lock +full:- +full:offset
45 function allows sections of a file to be locked with advisory-mode locks.
48 from other processes which attempt to lock the locked file section will
55 The file descriptor must have been opened either for write-only
67 .Bl -tag -width F_ULOCKXX -compact -offset indent
73 lock a section for exclusive use
75 test and lock a section for exclusive use
85 both lock a section of a file if the section is available;
87 detects if a lock by another process is present on the specified section.
94 offset in the file and extends forward for a positive size or backward
96 current offset).
97 However, it is not permitted to lock a section that
101 is 0, the section from the current offset through the largest possible
102 file offset is locked (that is, from the current offset through the
103 present or any future end-of-file).
115 exceed a system-imposed limit, the request will fail.
135 at the current file offset through
147 system-imposed limit, the request will fail.
151 request in which size is non-zero and the offset of the last byte of
153 off_t, when the process has an existing lock in which size is 0 and
162 region is put to sleep by attempting to lock the locked region of
190 .Rv -std lockf
197 .Bl -tag -width Er
254 and satisfying the lock or unlock request would result in the number
255 of locked regions in the system exceeding a system-imposed limit.
264 .St -xpg4.2 .