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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dclosefrom.c135 * Close all open file descriptors greater than or equal to lowfd.
138 closefrom(int lowfd) argument
140 int low = (lowfd < 0)? 0 : lowfd;
143 * Close lowfd right away as a hedge against failing
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dspawn.c88 * Close all open file descriptors greater than or equal to lowfd.
95 spawn_closefrom(int lowfd, void *buf) argument
103 if (lowfd < 0)
104 lowfd = 0;
107 * Close lowfd right away as a hedge against failing
111 (void) __close(lowfd++);
136 fd >= lowfd)

Completed in 60 milliseconds