* Advisory file segment locking data type - * information passed to system by user */
| 292 | * information passed to system by user |
| 293 | */ |
| 294 | struct flock { |
| 295 | off_t l_start; /* starting offset */ |
| 296 | off_t l_len; /* len = 0 means until end of file */ |
| 297 | pid_t l_pid; /* lock owner */ |
| 298 | short l_type; /* lock type: read/write, etc. */ |
| 299 | short l_whence; /* type of l_start */ |
| 300 | int l_sysid; /* remote system id or zero for local */ |
| 301 | }; |
| 302 | |
| 303 | #if __BSD_VISIBLE |
| 304 | /* |