Searched refs:_PATH_DEVNULL (Results 1 - 25 of 61) sorted by relevance

123

/freebsd-10.0-release/crypto/heimdal/appl/ftp/ftpd/
H A Dpathnames.h40 #ifndef _PATH_DEVNULL
41 #define _PATH_DEVNULL "/dev/null" macro
/freebsd-10.0-release/contrib/tcsh/
H A Dpathnames.h99 #if defined(__EMX__) && !defined(_PATH_DEVNULL)
100 # define _PATH_DEVNULL "nul" macro
101 #endif /* __EMX__ && !_PATH_DEVNULL */
135 #ifndef _PATH_DEVNULL
136 # define _PATH_DEVNULL "/dev/null" macro
137 #endif /* !_PATH_DEVNULL */
H A Dsh.misc.c282 (void) xopen(_PATH_DEVNULL, O_RDONLY|O_LARGEFILE);
330 int fd = xopen(_PATH_DEVNULL, O_RDONLY|O_LARGEFILE);
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Ddaemon.c71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Ddaemon.c70 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
H A Dsimple_exec.c177 in_fd[0] = open(_PATH_DEVNULL, O_RDONLY);
179 out_fd[1] = open(_PATH_DEVNULL, O_WRONLY);
181 err_fd[1] = open(_PATH_DEVNULL, O_WRONLY);
H A Droken-common.h131 #ifndef _PATH_DEVNULL
132 #define _PATH_DEVNULL "/dev/null" macro
/freebsd-10.0-release/contrib/opie/
H A Dopie_cfg.h129 #ifndef _PATH_DEVNULL
130 #define _PATH_DEVNULL "/dev/null" macro
/freebsd-10.0-release/sbin/dumpon/
H A Ddumpon.c117 printf("%s\n", _PATH_DEVNULL);
166 fd = open(_PATH_DEVNULL, O_RDONLY);
168 err(EX_OSFILE, "%s", _PATH_DEVNULL);
/freebsd-10.0-release/usr.sbin/cron/lib/
H A Dcompat.c121 (void) close(STDIN); (void) open(_PATH_DEVNULL, 0);
122 (void) close(STDOUT); (void) open(_PATH_DEVNULL, 1);
123 (void) close(STDERR); (void) open(_PATH_DEVNULL, 2);
/freebsd-10.0-release/lib/libc/gen/
H A Ddaemon.c87 if (!noclose && (fd = _open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
/freebsd-10.0-release/usr.sbin/cron/cron/
H A Dpopen.c134 (void)open(_PATH_DEVNULL, O_RDWR);
148 (void)open(_PATH_DEVNULL, O_RDWR);
150 (void)open(_PATH_DEVNULL, O_RDWR);
/freebsd-10.0-release/include/
H A Dpaths.h54 #define _PATH_DEVNULL "/dev/null" macro
/freebsd-10.0-release/sbin/hastd/
H A Dhooks.c107 fd = open(_PATH_DEVNULL, O_RDONLY);
110 _PATH_DEVNULL);
118 fd = open(_PATH_DEVNULL, O_WRONLY);
121 _PATH_DEVNULL);
/freebsd-10.0-release/usr.sbin/bluetooth/btpand/
H A Dbtpand.c252 fd = open(_PATH_DEVNULL, O_RDWR, 0);
254 log_err("Could not open %s", _PATH_DEVNULL);
/freebsd-10.0-release/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_snmp.c114 if ((hr_kd = kvm_open(NULL, _PATH_DEVNULL, NULL, O_RDONLY,
/freebsd-10.0-release/contrib/lukemftpd/
H A Dlukemftpd.h102 #ifndef _PATH_DEVNULL
103 #define _PATH_DEVNULL "/dev/null" macro
/freebsd-10.0-release/contrib/bmake/
H A Dutil.c427 #ifndef _PATH_DEVNULL
428 # define _PATH_DEVNULL "/dev/null"
438 nullfp = fopen(_PATH_DEVNULL, "w");
/freebsd-10.0-release/usr.bin/patch/
H A Dutil.c353 if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1))
/freebsd-10.0-release/crypto/openssh/
H A Ddefines.h387 #ifndef _PATH_DEVNULL
388 # define _PATH_DEVNULL "/dev/null" macro
H A Dssh-keysign.c163 if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2)
/freebsd-10.0-release/lib/libkvm/
H A Dkvm.c189 if (strcmp(mf, _PATH_DEVNULL) == 0) {
190 kd->vmfd = open(_PATH_DEVNULL, O_RDONLY | O_CLOEXEC);
/freebsd-10.0-release/sbin/mdmfs/
H A Dmdmfs.c658 nfd = open(_PATH_DEVNULL, O_RDWR);
660 err(1, "open: %s", _PATH_DEVNULL);
/freebsd-10.0-release/usr.sbin/cron/crontab/
H A Dcrontab.c333 if (!(f = fopen(_PATH_DEVNULL, "r")))
334 err(ERROR_EXIT, _PATH_DEVNULL);
/freebsd-10.0-release/usr.sbin/ppp/
H A Dmain.c320 if ((holdfd[0] = open(_PATH_DEVNULL, O_RDWR)) == -1) {
321 fprintf(stderr, "Cannot open %s !\n", _PATH_DEVNULL);

Completed in 296 milliseconds

123