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

123

/freebsd-current/crypto/heimdal/appl/ftp/ftpd/
H A Dpathnames.h40 #ifndef _PATH_DEVNULL
41 #define _PATH_DEVNULL "/dev/null" macro
/freebsd-current/lib/libc/tests/stdio/
H A Dfreopen_test.c63 runtest(_PATH_DEVNULL, "r", NULL, "r", true);
70 runtest(_PATH_DEVNULL, "w", NULL, "r", false);
77 runtest(_PATH_DEVNULL, "r+", NULL, "r", true);
84 runtest(_PATH_DEVNULL, "r", NULL, "w", false);
91 runtest(_PATH_DEVNULL, "w", NULL, "w", true);
98 runtest(_PATH_DEVNULL, "r+", NULL, "w", true);
105 runtest(_PATH_DEVNULL, "r", NULL, "a", false);
112 runtest(_PATH_DEVNULL, "w", NULL, "a", true);
119 runtest(_PATH_DEVNULL, "r+", NULL, "a", true);
126 runtest(_PATH_DEVNULL, "
[all...]
H A Dfdopen_test.c65 runtest(_PATH_DEVNULL, O_RDONLY, "r", true);
72 runtest(_PATH_DEVNULL, O_WRONLY, "r", false);
79 runtest(_PATH_DEVNULL, O_RDWR, "r", true);
86 runtest(_PATH_DEVNULL, O_RDONLY, "w", false);
93 runtest(_PATH_DEVNULL, O_WRONLY, "w", true);
100 runtest(_PATH_DEVNULL, O_RDWR, "w", true);
107 runtest(_PATH_DEVNULL, O_RDONLY, "a", false);
114 runtest(_PATH_DEVNULL, O_WRONLY, "a", true);
121 runtest(_PATH_DEVNULL, O_RDWR, "a", true);
128 runtest(_PATH_DEVNULL, O_RDONL
[all...]
H A Dfopen_test.c77 runtest(_PATH_DEVNULL, "r");
84 runtest(_PATH_DEVNULL, "r+");
91 runtest(_PATH_DEVNULL, "w");
98 runtest(_PATH_DEVNULL, "w+");
105 runtest(_PATH_DEVNULL, "a");
112 runtest(_PATH_DEVNULL, "a+");
119 runtest(_PATH_DEVNULL, "re");
126 runtest(_PATH_DEVNULL, "r+e");
133 runtest(_PATH_DEVNULL, "we");
140 runtest(_PATH_DEVNULL, "
[all...]
/freebsd-current/lib/libcasper/libcasper/
H A Dlibcasper_impl.c56 nullfd = open(_PATH_DEVNULL, O_RDWR);
58 errx(1, "Unable to open %s", _PATH_DEVNULL);
/freebsd-current/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-current/crypto/openssh/openbsd-compat/
H A Ddaemon.c71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
/freebsd-current/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-current/usr.sbin/cron/cron/
H A Dpopen.c121 (void)open(_PATH_DEVNULL, O_RDWR);
135 (void)open(_PATH_DEVNULL, O_RDWR);
137 (void)open(_PATH_DEVNULL, O_RDWR);
/freebsd-current/usr.sbin/autofs/
H A Dpopen.c82 nullfd = open(_PATH_DEVNULL, O_RDWR, 0);
84 log_err(1, "cannot open %s", _PATH_DEVNULL);
/freebsd-current/sbin/hastd/
H A Dhooks.c105 fd = open(_PATH_DEVNULL, O_RDONLY);
108 _PATH_DEVNULL);
116 fd = open(_PATH_DEVNULL, O_WRONLY);
119 _PATH_DEVNULL);
/freebsd-current/lib/libc/gen/
H A Ddaemon.c97 nullfd = _open(_PATH_DEVNULL, O_RDWR, 0);
/freebsd-current/include/
H A Dpaths.h56 #define _PATH_DEVNULL "/dev/null" macro
/freebsd-current/usr.sbin/bluetooth/btpand/
H A Dbtpand.c250 fd = open(_PATH_DEVNULL, O_RDWR, 0);
252 log_err("Could not open %s", _PATH_DEVNULL);
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_snmp.c114 if ((hr_kd = kvm_open(NULL, _PATH_DEVNULL, NULL, O_RDONLY,
/freebsd-current/usr.bin/systat/
H A Dmain.c186 kd = kvm_openfiles(_PATH_DEVNULL, _PATH_DEVNULL, _PATH_DEVNULL,
/freebsd-current/contrib/netbsd-tests/lib/libc/c063/
H A Dt_mknodat.c57 if (stat(_PATH_DEVNULL, &st) != 0)
/freebsd-current/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-current/usr.bin/patch/
H A Dutil.c368 if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1)) {
/freebsd-current/tests/sys/file/
H A Dclosefrom_test.c134 fd = open(_PATH_DEVNULL, O_RDONLY);
136 fail_err("open(\" "_PATH_DEVNULL" \")");
/freebsd-current/usr.sbin/pw/
H A Dpw_group.c285 freopen(_PATH_DEVNULL, "w", stderr);
348 freopen(_PATH_DEVNULL, "w", stderr);
411 freopen(_PATH_DEVNULL, "w", stderr);
575 freopen(_PATH_DEVNULL, "w", stderr);
673 freopen(_PATH_DEVNULL, "w", stderr);
/freebsd-current/contrib/netbsd-tests/include/
H A Dt_paths.c69 { _PATH_DEVNULL, PATH_DEV },
/freebsd-current/usr.bin/top/
H A Dutils.c311 kd = kvm_open(NULL, _PATH_DEVNULL, NULL, O_RDONLY, NULL);

Completed in 401 milliseconds

123