Lines Matching +full:software +full:- +full:locked

6 .\" This code is derived from software contributed to The NetBSD Foundation
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
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
71 unlock locked sections
91 argument is the number of contiguous bytes to be locked or
93 The section to be locked or unlocked starts at the current
102 file offset is locked (that is, from the current offset through the
103 present or any future end-of-file).
105 The sections locked with
110 locked section for the same process.
112 locked sections would occur, the sections are combined into a single
113 locked section.
115 exceed a system-imposed limit, the request will fail.
125 makes the function fail if the section is already locked by another
132 requests release (wholly or in part) one or more locked sections
134 Locked sections will be unlocked starting
138 When all of a locked section
140 unlocked falls within a locked section), the remaining portions of
141 that section are still locked by the process.
143 portion of a locked section will cause the remaining locked beginning
144 and end portions to become two separate locked sections.
147 system-imposed limit, the request will fail.
151 request in which size is non-zero and the offset of the last byte of
161 A potential for deadlock occurs if a process controlling a locked
162 region is put to sleep by attempting to lock the locked region of
165 locked region is unlocked would cause a deadlock and fails with an
179 If a file is locked by a process through
181 any record within the file will be seen as locked
190 .Rv -std lockf
197 .Bl -tag -width Er
205 and the section is already locked by another process.
255 of locked regions in the system exceeding a system-imposed limit.
264 .St -xpg4.2 .