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

/illumos-gate/usr/src/cmd/sort/common/
H A Dutility.c77 static int held_fd = -1; variable
451 ASSERT(held_fd == -1);
453 if ((held_fd = open("/dev/null", O_RDONLY)) == -1)
460 ASSERT(held_fd != -1);
462 (void) close(held_fd);
463 held_fd = -1;

Completed in 44 milliseconds