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

/macosx-10.10/Security-57031.1.35/securityd/src/
H A Dauthhost.cpp100 int devnull = open(_PATH_DEVNULL, O_RDWR, 0); local
101 if (devnull >= 0) for (i = 0; i < 3; ++i)
103 dup2(devnull, i);
/macosx-10.10/file_cmds-242/install/
H A Dxinstall.c282 int devnull, files_match, from_fd=0, serrno, target; local
303 devnull = 0;
305 devnull = 1;
320 if (!devnull && (from_fd = open(from_name, O_RDONLY, 0)) < 0)
327 if (devnull)
353 if (!devnull)
450 if (!devnull && (S_ISLNK(from_sb.st_mode) || S_ISREG(from_sb.st_mode)) &&
458 if (dopreserve && !files_match && !devnull) {
507 if (!devnull && fchflags(to_fd,
522 if (!devnull
[all...]
/macosx-10.10/network_cmds-457/rarpd.tproj/
H A Drarpd.c125 int op, pid, devnull, f; local
191 devnull = open("/dev/null", O_RDWR);
192 if (devnull >= 0) {
193 (void) dup2(devnull, 0);
194 (void) dup2(devnull, 1);
195 (void) dup2(devnull, 2);
196 if (devnull > 2)
197 (void) close(devnull);
/macosx-10.10/procmail-14/procmail/src/
H A Dprocmail.h93 *const*restargv,*sgetcp,pmrc[],*rcfile,dirsep[],devnull[],empty[],lgname[],
H A Dcstdio.c37 { if(*name&&strcmp(name,devnull))
55 { if(!*name||!strcmp(name,devnull))
H A Dprocmail.c50 pmrc[]=PROCMAILRC,*rcfile,dirsep[]=DIRSEP,devnull[]=DevNull,empty[]="", variable
216 if(0>(savstdout=opena(devnull)))
221 if(0>opena(devnull))
223 { writeerr(devnull);syslog(LOG_EMERG,slogstr,errwwriting,devnull);
595 )&&strcmp(devnull,buf)|| /* /dev/null is a special case, */
H A Dlocking.c113 if(noext||(strcmp(withext,devnull)&&strcmp(withext,"|")))
H A Dmemblk.c60 mb->fd=ropen(devnull,O_RDWR,0); /* XXX Perhaps -1 is better? */
H A Drobust.c114 file=devnull; /* substitute the bitbucket */
H A Dmailfold.c218 if(!strcmp(devnull,buf))
/macosx-10.10/sudo-73/src/
H A Dsudo.c1114 int miss[3], devnull = -1; local
1156 if ((devnull = open(_PATH_DEVNULL, O_RDWR, 0644)) == -1)
1158 if (miss[STDIN_FILENO] && dup2(devnull, STDIN_FILENO) == -1)
1160 if (miss[STDOUT_FILENO] && dup2(devnull, STDOUT_FILENO) == -1)
1162 if (miss[STDERR_FILENO] && dup2(devnull, STDERR_FILENO) == -1)
1164 if (devnull > STDERR_FILENO)
1165 close(devnull);
/macosx-10.10/OpenSSL098-52/src/ssl/
H A Dd1_both.c640 unsigned char devnull [256]; local
645 devnull,
646 frag_len>sizeof(devnull)?sizeof(devnull):frag_len,0);
730 unsigned char devnull [256]; local
735 devnull,
736 frag_len>sizeof(devnull)?sizeof(devnull):frag_len,0);
/macosx-10.10/OpenSSH-189/openssh/
H A Dssh.c966 int devnull; local
993 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) {
997 if (dup2(devnull, STDIN_FILENO) == -1 ||
998 dup2(devnull, STDOUT_FILENO) == -1)
1000 if (devnull > STDERR_FILENO)
1001 close(devnull);
H A Dmux.c1705 int devnull, rawmode; local
1717 if ((devnull = open(_PATH_DEVNULL, O_RDONLY)) == -1)
1719 if (dup2(devnull, STDIN_FILENO) == -1)
1721 if (devnull > STDERR_FILENO)
1722 close(devnull);
1868 int devnull; local
1880 if ((devnull = open(_PATH_DEVNULL, O_RDONLY)) == -1)
1882 if (dup2(devnull, STDIN_FILENO) == -1)
1884 if (devnull > STDERR_FILENO)
1885 close(devnull);
[all...]
H A Dauth2-pubkey.c465 int status, devnull, p[2], i; local
526 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) {
532 if (dup2(devnull, STDIN_FILENO) == -1 ||
/macosx-10.10/network_cmds-457/traceroute.tproj/
H A Dtraceroute.c366 static const char devnull[] = "/dev/null"; variable
521 if (open(devnull, O_RDONLY) < 0 ||
522 open(devnull, O_RDONLY) < 0 ||
523 open(devnull, O_RDONLY) < 0) {
525 prog, devnull, strerror(errno));
/macosx-10.10/Security-57031.1.35/codesign_wrapper/
H A Dcodesign_wrapper.c92 int devnull = open(_PATH_DEVNULL, O_RDWR, 0); local
94 if (devnull >= 0) for (i = 0; i < 3; ++i)
95 dup2(devnull, i);
/macosx-10.10/CPANInternal-159.1/File-ExtAttr-1.09/inc/Devel/
H A DCheckLib.pm194 open DEV_NULL, ">" . File::Spec->devnull
/macosx-10.10/Security-57031.1.35/Security/regressions/inc/IPC/
H A DRun3.pm303 open FH, ">" . File::Spec->devnull;
/macosx-10.10/Security-57031.1.35/SecurityTests/regressions/t/IPC/
H A DRun3.pm303 open FH, ">" . File::Spec->devnull;
/macosx-10.10/bind9-45.101/bind9/unit/atf-src/bootstrap/
H A Dtestsuite1411 at_devnull=$at_suite_dir/devnull
/macosx-10.10/gnutar-453/gnutar/tests/
H A Dtestsuite1160 at_devnull=$at_suite_dir/devnull

Completed in 410 milliseconds