Lines Matching +full:lock +full:- +full:offset

58 .Bl -tag -width F_DUP2FD_CLOEXEC
62 .Bl -bullet -compact -offset 4n
69 New descriptor shares the same file offset if the object
77 The close-on-exec flag
95 .Bd -literal -offset indent
116 Get the close-on-exec flag associated with the file descriptor
130 Set the close-on-exec flag associated with
180 is non-zero.
214 .Bl -tag -width O_NONBLOCKX
216 Non-blocking I/O; if no data is available to a
221 the read or write call returns -1 with the error
262 .Bl -tag -width F_SEAL_SHRINK
282 Seals are on a per-inode basis and require support by the underlying filesystem.
292 .Bd -literal
294 off_t l_start; /* starting offset */
296 pid_t l_pid; /* lock owner */
297 short l_type; /* lock type: read/write, etc. */
307 .Bl -tag -width F_SETLKWX
309 Get the first lock that blocks the lock description pointed to by the
320 If no lock is found that would prevent this lock from being created,
322 lock type which is set to
325 Set or clear a file segment lock according to the lock description
336 as well as remove either type of lock
338 If a shared or exclusive lock cannot be set,
345 except that if a shared or exclusive lock is blocked by other locks,
357 When a shared lock has been set on a segment of a file,
360 A shared lock prevents any other process from setting an exclusive
361 lock on any portion of the protected area.
362 A request for a shared lock fails if the file descriptor was not
365 An exclusive lock prevents any other process from setting a shared lock or
366 an exclusive lock on any portion of the protected area.
367 A request for an exclusive lock fails if the file was not
377 to indicate that the relative offset,
395 to return the process ID of the process holding a blocking lock and
407 A lock is set to extend to the largest possible value of the
408 file offset for that file if
422 There is at most one type of lock set for each byte in the file.
429 the previous lock type for each byte in the specified
430 region is replaced by the new lock type.
448 .St -p1003.1-88
459 the lock will be lost because
464 requested a lock on the database.
499 returns \-1 in
501 if the process holding a blocking lock previously locked the
515 is put to sleep by attempting to lock the locked region of another process.
524 .Bl -tag -width F_GETOWNX -offset indent
531 Value of flag (only the low-order bit is defined).
537 Value other than -1.
540 Otherwise, a value of -1 is returned and
547 .Bl -tag -width Er
553 the type of lock
555 is a shared lock
557 or exclusive lock
560 exclusive-locked by another process;
561 or the type is an exclusive lock and some portion of the
562 segment of a file to be locked is already shared-locked or
563 exclusive-locked by another process.
584 the type of lock
586 is a shared lock
598 the type of lock
600 is an exclusive lock
684 and satisfying the lock or unlock request would result in the
685 number of locked regions in the system exceeding a system-imposed limit.
769 .St -susv4 ,