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

/opensolaris-onvv-gate/usr/src/cmd/bnu/
H A Dcallers.c239 int nullfd; local
292 (void) close(nullfd = open("/", O_RDONLY));
294 (void) close(nullfd);
314 (void) close(nullfd);
734 int dcr, dcr2, nullfd, ret; local
760 (void) close(nullfd = open("/", O_RDONLY));
764 (void) close(nullfd);
779 (void) close(nullfd); /* kernel might think dc2 is open */
850 int nw, lt, dcf = -1, nullfd, dnf = -1; local
861 (void) close(nullfd
925 int nw, lt, dcf = -1, nullfd, dnf = -1, ret; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/
H A Dmisc.c508 int nullfd, dupfd; local
510 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
518 if (dup2(nullfd, dupfd) == -1) {
523 if (nullfd > 2)
524 close(nullfd);
/opensolaris-onvv-gate/usr/src/lib/libnsl/dial/
H A Dcallers.c182 int nullfd; local
236 (void) close(nullfd = open("/", O_RDONLY));
238 (void) close(nullfd);
258 (void) close(nullfd);

Completed in 107 milliseconds