Lines Matching refs:flock
151 struct flock fl1, fl2;
189 struct flock fl;
260 struct flock fl;
330 struct flock fl;
416 struct flock fl;
502 struct flock fl;
604 struct flock fl;
676 struct flock fl;
753 struct flock fl;
825 struct flock fl;
893 struct flock fl;
978 struct flock fl;
1056 struct flock fl;
1145 struct flock fl;
1316 * Test 15 - flock(2) semantcs
1338 * for flock(2) goes with the file descriptor, we use fcntl to
1343 struct flock fl;
1380 if (flock(fd, LOCK_SH) < 0)
1381 err(1, "flock shared");
1384 * flock should wait until the alarm and then return -1 with
1387 printf("15 - flock(2) semantics: ");
1390 flock(fd, LOCK_EX);
1416 struct flock tc_fl;
1558 errx(1, "usage: flock <directory> [test number] ...");