Searched defs:afd3 (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Druntests.c346 lockinfo_t afd1, afd2, afd3; local
352 VERIFY3S(flock_copyfil(&flock_fileA, &afd3), ==, 0);
357 VERIFY3S(flock(afd3.lf_fd, LOCK_SH), ==, 0);
362 VERIFY3S(flock(afd3.lf_fd, LOCK_EX|LOCK_NB), ==, -1);
370 VERIFY3S(flock(afd3.lf_fd, LOCK_EX), ==, 0);
378 VERIFY3S(flock(afd3.lf_fd, LOCK_SH), ==, 0);
387 VERIFY3S(flock(afd3.lf_fd, LOCK_EX), ==, 0);
392 VERIFY3S(flock(afd3.lf_fd, LOCK_UN), ==, 0);
395 flock_rminfo(&afd3);
535 lockinfo_t afd1, afd2, afd3; local
[all...]

Completed in 156 milliseconds