Lines Matching refs:fl
49 struct flock fl;
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;
63 fl.l_type = F_UNLCK;
64 fl.l_whence = SEEK_SET;
65 fl.l_start = index;
66 fl.l_len = 1;
67 return (fcntl(file, F_SETLK, &fl) == -1);