MCPcopy Create free account
hub / github.com/F-Stack/f-stack / flock

Class flock

freebsd/sys/fcntl.h:294–301  ·  view source on GitHub ↗

* Advisory file segment locking data type - * information passed to system by user */

Source from the content-addressed store, hash-verified

292 * information passed to system by user
293 */
294struct 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/*

Callers 1

vflopenatFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected