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

1234

/freebsd-13-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dpathnames.h40 #ifndef _PATH_DEVNULL
41 #define _PATH_DEVNULL "/dev/null" macro
/freebsd-13-stable/lib/libc/tests/stdio/
H A Dfreopen_test.c66 runtest(_PATH_DEVNULL, "r", NULL, "r", true);
73 runtest(_PATH_DEVNULL, "w", NULL, "r", false);
80 runtest(_PATH_DEVNULL, "r+", NULL, "r", true);
87 runtest(_PATH_DEVNULL, "r", NULL, "w", false);
94 runtest(_PATH_DEVNULL, "w", NULL, "w", true);
101 runtest(_PATH_DEVNULL, "r+", NULL, "w", true);
108 runtest(_PATH_DEVNULL, "r", NULL, "a", false);
115 runtest(_PATH_DEVNULL, "w", NULL, "a", true);
122 runtest(_PATH_DEVNULL, "r+", NULL, "a", true);
129 runtest(_PATH_DEVNULL, "
[all...]
H A Dfdopen_test.c68 runtest(_PATH_DEVNULL, O_RDONLY, "r", true);
75 runtest(_PATH_DEVNULL, O_WRONLY, "r", false);
82 runtest(_PATH_DEVNULL, O_RDWR, "r", true);
89 runtest(_PATH_DEVNULL, O_RDONLY, "w", false);
96 runtest(_PATH_DEVNULL, O_WRONLY, "w", true);
103 runtest(_PATH_DEVNULL, O_RDWR, "w", true);
110 runtest(_PATH_DEVNULL, O_RDONLY, "a", false);
117 runtest(_PATH_DEVNULL, O_WRONLY, "a", true);
124 runtest(_PATH_DEVNULL, O_RDWR, "a", true);
131 runtest(_PATH_DEVNULL, O_RDONL
[all...]
H A Dfopen_test.c80 runtest(_PATH_DEVNULL, "r");
87 runtest(_PATH_DEVNULL, "r+");
94 runtest(_PATH_DEVNULL, "w");
101 runtest(_PATH_DEVNULL, "w+");
108 runtest(_PATH_DEVNULL, "a");
115 runtest(_PATH_DEVNULL, "a+");
122 runtest(_PATH_DEVNULL, "re");
129 runtest(_PATH_DEVNULL, "r+e");
136 runtest(_PATH_DEVNULL, "we");
143 runtest(_PATH_DEVNULL, "
[all...]
/freebsd-13-stable/lib/libcasper/libcasper/
H A Dlibcasper_impl.c58 nullfd = open(_PATH_DEVNULL, O_RDWR);
60 errx(1, "Unable to open %s", _PATH_DEVNULL);
/freebsd-13-stable/contrib/tcsh/
H A Dpathnames.h98 #if defined(__EMX__) && !defined(_PATH_DEVNULL)
99 # define _PATH_DEVNULL "nul" macro
100 #endif /* __EMX__ && !_PATH_DEVNULL */
134 #ifndef _PATH_DEVNULL
135 # define _PATH_DEVNULL "/dev/null" macro
136 #endif /* !_PATH_DEVNULL */
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Ddaemon.c71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
/freebsd-13-stable/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-13-stable/contrib/opie/
H A Dopie_cfg.h129 #ifndef _PATH_DEVNULL
130 #define _PATH_DEVNULL "/dev/null" macro
/freebsd-13-stable/usr.sbin/cron/lib/
H A Dcompat.c109 (void) close(STDIN); (void) open(_PATH_DEVNULL, 0);
110 (void) close(STDOUT); (void) open(_PATH_DEVNULL, 1);
111 (void) close(STDERR); (void) open(_PATH_DEVNULL, 2);
/freebsd-13-stable/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-13-stable/lib/libc/gen/
H A Ddaemon.c101 nullfd = _open(_PATH_DEVNULL, O_RDWR, 0);
/freebsd-13-stable/include/
H A Dpaths.h59 #define _PATH_DEVNULL "/dev/null" macro
/freebsd-13-stable/sbin/hastd/
H A Dhooks.c108 fd = open(_PATH_DEVNULL, O_RDONLY);
111 _PATH_DEVNULL);
119 fd = open(_PATH_DEVNULL, O_WRONLY);
122 _PATH_DEVNULL);
/freebsd-13-stable/usr.sbin/autofs/
H A Dpopen.c85 nullfd = open(_PATH_DEVNULL, O_RDWR, 0);
87 log_err(1, "cannot open %s", _PATH_DEVNULL);
/freebsd-13-stable/usr.sbin/bluetooth/btpand/
H A Dbtpand.c255 fd = open(_PATH_DEVNULL, O_RDWR, 0);
257 log_err("Could not open %s", _PATH_DEVNULL);
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_snmp.c116 if ((hr_kd = kvm_open(NULL, _PATH_DEVNULL, NULL, O_RDONLY,
/freebsd-13-stable/usr.bin/systat/
H A Dmain.c183 kd = kvm_openfiles(_PATH_DEVNULL, _PATH_DEVNULL, _PATH_DEVNULL,
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/c063/
H A Dt_mknodat.c57 if (stat(_PATH_DEVNULL, &st) != 0)
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/net/
H A Dh_dns_server.c195 (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
244 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
/freebsd-13-stable/usr.bin/patch/
H A Dutil.c369 if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1)) {
/freebsd-13-stable/tests/sys/file/
H A Dclosefrom_test.c136 fd = open(_PATH_DEVNULL, O_RDONLY);
138 fail_err("open(\" "_PATH_DEVNULL" \")");
/freebsd-13-stable/usr.sbin/pw/
H A Dpw_group.c283 freopen(_PATH_DEVNULL, "w", stderr);
340 freopen(_PATH_DEVNULL, "w", stderr);
397 freopen(_PATH_DEVNULL, "w", stderr);
555 freopen(_PATH_DEVNULL, "w", stderr);
646 freopen(_PATH_DEVNULL, "w", stderr);

Completed in 410 milliseconds

1234