Searched refs:_PATH_DEVNULL (Results 1 - 25 of 64) sorted by last modified time

123

/netbsd-current/usr.bin/xinstall/
H A Dxinstall.c692 if (flags & DIRECTORY || strcmp(from_name, _PATH_DEVNULL) != 0) {
/netbsd-current/usr.bin/config/
H A Ddefs.h71 #ifndef _PATH_DEVNULL
72 #define _PATH_DEVNULL "/dev/null" macro
H A Dgram.y1329 if (include(_PATH_DEVNULL, ENDDEFS, 0, 0) != 0)
1355 if (include(_PATH_DEVNULL, ENDDEFS, 0, 0) != 0)
1377 strlcpy(buf, _PATH_DEVNULL, sizeof(buf));
/netbsd-current/lib/librumpuser/
H A Drumpuser_daemonize.c48 #define _PATH_DEVNULL "/dev/null" macro
150 fd = open(_PATH_DEVNULL, O_RDWR);
/netbsd-current/sbin/restore/
H A Dtape.c256 terminal = fopen(_PATH_DEVNULL, "r");
259 _PATH_DEVNULL, strerror(errno));
/netbsd-current/bin/sh/
H A Djobs.c1247 const char *devnull = _PATH_DEVNULL;
/netbsd-current/lib/libc/gen/
H A Dwordexp.c142 if ((devnull = open(_PATH_DEVNULL, O_RDWR, 0666)) < 0)
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dssh.c2230 in = open(_PATH_DEVNULL, O_RDONLY);
H A Dmisc.c1469 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
2593 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) {
2594 error_f("open %s: %s", _PATH_DEVNULL,
2710 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) {
2711 error("%s: open %s: %s", tag, _PATH_DEVNULL,
H A Dclientloop.c357 SSH_X11_PROTO, _PATH_DEVNULL);
371 _PATH_DEVNULL);
396 "%s %s%s list %s 2>" _PATH_DEVNULL,
H A Dmonitor.c1588 if ((fd0 = open(_PATH_DEVNULL, O_RDONLY)) == -1)
H A Dssh-keysign.c193 if ((fd = open(_PATH_DEVNULL, O_RDWR)) < 2)
/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Ddhcpcd.c1871 int fd_null = open(_PATH_DEVNULL, O_WRONLY);
1875 logwarn("open %s", _PATH_DEVNULL);
/netbsd-current/usr.sbin/syslogd/
H A Dsyslogd.c4185 if ((nulldesc = open(_PATH_DEVNULL, O_RDWR)) == -1) {
/netbsd-current/libexec/ftpd/
H A Dftpd.c691 (void) freopen(_PATH_DEVNULL, "w", stderr);
/netbsd-current/tests/include/
H A Dt_paths.c69 { _PATH_DEVNULL, PATH_DEV },
/netbsd-current/tests/lib/libc/sys/
H A Dt_pollts.c164 fd = open(_PATH_DEVNULL, O_RDONLY);
/netbsd-current/tools/compat/
H A Dcompat_defs.h1023 #ifndef _PATH_DEVNULL
1024 #define _PATH_DEVNULL _PATH_DEV "null" macro
/netbsd-current/usr.sbin/ifwatchd/
H A Difwatchd.c84 static const char DummyTTY[] = _PATH_DEVNULL;
/netbsd-current/external/bsd/tmux/dist/
H A Djob.c142 nullfd = open(_PATH_DEVNULL, O_RDWR);
H A Dcompat.h105 #ifndef _PATH_DEVNULL
106 #define _PATH_DEVNULL "/dev/null" macro
H A Dcmd-pipe-pane.c139 null_fd = open(_PATH_DEVNULL, O_WRONLY);
/netbsd-current/usr.bin/mail/
H A Dcomplete.c1190 if ((nullfp = fopen(_PATH_DEVNULL, "w")) == NULL)
1191 err(EXIT_FAILURE, "Cannot open `%s'", _PATH_DEVNULL);
/netbsd-current/lib/libpam/modules/pam_ssh/
H A Dpam_ssh.c325 (void)open(_PATH_DEVNULL, O_RDONLY);
/netbsd-current/usr.sbin/btpand/
H A Dbtpand.c264 fd = open(_PATH_DEVNULL, O_RDWR, 0);
266 log_err("Could not open %s", _PATH_DEVNULL);

Completed in 353 milliseconds

123