File segment locking structure used with F_GETLK, F_SETLK, and F_SETLKW.
More...
#include <zephyr/posix/fcntl.h>
|
| short | l_type |
| | Lock type: F_RDLCK, F_WRLCK, or F_UNLCK.
|
| |
| short | l_whence |
| | How to interpret l_start: SEEK_SET, SEEK_CUR, SEEK_END.
|
| |
| long | l_start |
| | Byte offset to start of locked region.
|
| |
| long | l_len |
| | Length of locked region in bytes (0 = to EOF).
|
| |
| pid_t | l_pid |
| | PID of the process holding the lock (F_GETLK output only).
|
| |
File segment locking structure used with F_GETLK, F_SETLK, and F_SETLKW.
Definition at line 165 of file fcntl.h.
◆ l_len
Length of locked region in bytes (0 = to EOF).
Definition at line 169 of file fcntl.h.
◆ l_pid
PID of the process holding the lock (F_GETLK output only).
Definition at line 170 of file fcntl.h.
◆ l_start
Byte offset to start of locked region.
Definition at line 168 of file fcntl.h.
◆ l_type
Lock type: F_RDLCK, F_WRLCK, or F_UNLCK.
Definition at line 166 of file fcntl.h.
◆ l_whence
How to interpret l_start: SEEK_SET, SEEK_CUR, SEEK_END.
Definition at line 167 of file fcntl.h.
The documentation for this struct was generated from the following file: