Symbol: _PATH_DEVNULL
bin/csh/sem.c
559
(void)open(_PATH_DEVNULL, O_RDONLY);
bin/sh/jobs.c
1416
const char *devnull = _PATH_DEVNULL;
games/mille/varpush.c
94
if (strcmp(buf, _PATH_DEVNULL) != 0)
lib/libc/gen/daemon.c
71
if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
lib/libc/gen/wordexp.c
142
if ((devnull = open(_PATH_DEVNULL, O_RDWR, 0666)) < 0)
lib/libpam/modules/pam_ssh/pam_ssh.c
325
(void)open(_PATH_DEVNULL, O_RDONLY);
lib/libpuffs/puffs.c
485
fd = open(_PATH_DEVNULL, O_RDWR, 0);
lib/librumpuser/rumpuser_daemonize.c
150
fd = open(_PATH_DEVNULL, O_RDWR);
libexec/ftpd/ftpd.c
691
(void) freopen(_PATH_DEVNULL, "w", stderr);
libexec/makewhatis/makewhatis.c
784
((devnull = open(_PATH_DEVNULL, O_WRONLY, 0)) < 0))
sbin/restore/tape.c
257
terminal = fopen(_PATH_DEVNULL, "r");
sbin/restore/tape.c
260
_PATH_DEVNULL, strerror(errno));
sbin/routed/trace.c
208
fd = open(_PATH_DEVNULL, O_RDWR);
tests/include/t_paths.c
69
{ _PATH_DEVNULL, PATH_DEV },
tests/lib/libc/c063/t_mknodat.c
57
if (stat(_PATH_DEVNULL, &st) != 0)
tests/lib/libc/stdio/t_fopen.c
430
static const char *devs[] = { _PATH_DEVNULL };
tests/lib/libc/sys/t_pollts.c
164
fd = open(_PATH_DEVNULL, O_RDONLY);
tools/compat/compat_defs.h
1053
#ifndef _PATH_DEVNULL
usr.bin/config/defs.h
71
#ifndef _PATH_DEVNULL
usr.bin/config/gram.y
1329
if (include(_PATH_DEVNULL, ENDDEFS, 0, 0) != 0)
usr.bin/config/gram.y
1355
if (include(_PATH_DEVNULL, ENDDEFS, 0, 0) != 0)
usr.bin/config/gram.y
1377
strlcpy(buf, _PATH_DEVNULL, sizeof(buf));
usr.bin/diff/diffreg.c
305
f1 = fopen(_PATH_DEVNULL, "r");
usr.bin/diff/diffreg.c
328
f2 = fopen(_PATH_DEVNULL, "r");
usr.bin/mail/complete.c
1190
if ((nullfp = fopen(_PATH_DEVNULL, "w")) == NULL)
usr.bin/mail/complete.c
1191
err(EXIT_FAILURE, "Cannot open `%s'", _PATH_DEVNULL);
usr.bin/mail/popen.c
170
(void)open(_PATH_DEVNULL, O_RDONLY, 0);
usr.bin/patch/util.c
358
if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1))
usr.bin/rdist/server.c
1384
(void) open(_PATH_DEVNULL, O_RDONLY);
usr.bin/rump_dhcpclient/common.c
58
#ifndef _PATH_DEVNULL
usr.bin/skeyinit/skeyinit.c
68
i = open(_PATH_DEVNULL, O_RDWR);
usr.bin/xargs/xargs.c
558
fd = open(_PATH_DEVNULL, O_RDONLY);
usr.bin/xinstall/xinstall.c
700
if (flags & DIRECTORY || strcmp(from_name, _PATH_DEVNULL) != 0) {
usr.sbin/autofs/common.c
1179
fd = open(_PATH_DEVNULL, O_RDWR, 0);
usr.sbin/autofs/common.c
1181
log_warn("cannot open %s", _PATH_DEVNULL);
usr.sbin/autofs/popen.c
88
nullfd = open(_PATH_DEVNULL, O_RDWR, 0);
usr.sbin/autofs/popen.c
90
log_err(1, "cannot open %s", _PATH_DEVNULL);
usr.sbin/btpand/btpand.c
267
fd = open(_PATH_DEVNULL, O_RDWR, 0);
usr.sbin/btpand/btpand.c
269
log_err("Could not open %s", _PATH_DEVNULL);
usr.sbin/ifwatchd/ifwatchd.c
84
static const char DummyTTY[] = _PATH_DEVNULL;
usr.sbin/lpr/lpd/printjob.c
160
fd = open(_PATH_DEVNULL, O_WRONLY);
usr.sbin/lpr/lpd/recvjob.c
95
fd = open(_PATH_DEVNULL, O_WRONLY);
usr.sbin/nfsd/nfsd.c
314
(fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
usr.sbin/nfsd/nfsd.c
366
if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
usr.sbin/puffs/mount_psshfs/psshfs.c
458
dnfd = open(_PATH_DEVNULL, O_RDWR);
usr.sbin/sliplogin/sliplogin.c
344
if ((fd = open(_PATH_DEVNULL, O_WRONLY)) != 1) {
usr.sbin/syslogd/syslogd.c
4226
if ((nulldesc = open(_PATH_DEVNULL, O_RDWR)) == -1) {