Searched refs:fl (Results 1 - 2 of 2) sorted by relevance

/libmicro/
H A Dfile_lock.c49 struct flock fl; local
51 fl.l_type = F_WRLCK;
52 fl.l_whence = SEEK_SET;
53 fl.l_start = index;
54 fl.l_len = 1;
55 return (fcntl(file, F_SETLKW, &fl) == -1);
61 struct flock fl; local
63 fl.l_type = F_UNLCK;
64 fl.l_whence = SEEK_SET;
65 fl
[all...]
H A Dcascade_fcntl.c133 struct flock fl; local
135 fl.l_type = F_WRLCK;
136 fl.l_whence = SEEK_SET;
137 fl.l_start = index;
138 fl.l_len = 1;
139 return (fcntl(file, F_SETLKW, &fl) == -1);
145 struct flock fl; local
147 fl.l_type = F_UNLCK;
148 fl.l_whence = SEEK_SET;
149 fl
[all...]

Completed in 8 milliseconds