/freebsd-13-stable/crypto/heimdal/appl/ftp/ftpd/ |
H A D | pathnames.h | 40 #ifndef _PATH_DEVNULL 41 #define _PATH_DEVNULL "/dev/null" macro
|
/freebsd-13-stable/lib/libc/tests/stdio/ |
H A D | freopen_test.c | 66 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 D | fdopen_test.c | 68 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 D | fopen_test.c | 80 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 D | libcasper_impl.c | 58 nullfd = open(_PATH_DEVNULL, O_RDWR); 60 errx(1, "Unable to open %s", _PATH_DEVNULL);
|
/freebsd-13-stable/contrib/tcsh/ |
H A D | pathnames.h | 98 #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 D | daemon.c | 71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
/freebsd-13-stable/crypto/heimdal/lib/roken/ |
H A D | daemon.c | 70 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
H A D | simple_exec.c | 177 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 D | roken-common.h | 131 #ifndef _PATH_DEVNULL 132 #define _PATH_DEVNULL "/dev/null" macro
|
/freebsd-13-stable/contrib/opie/ |
H A D | opie_cfg.h | 129 #ifndef _PATH_DEVNULL 130 #define _PATH_DEVNULL "/dev/null" macro
|
/freebsd-13-stable/usr.sbin/cron/lib/ |
H A D | compat.c | 109 (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 D | popen.c | 134 (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 D | daemon.c | 101 nullfd = _open(_PATH_DEVNULL, O_RDWR, 0);
|
/freebsd-13-stable/include/ |
H A D | paths.h | 59 #define _PATH_DEVNULL "/dev/null" macro
|
/freebsd-13-stable/sbin/hastd/ |
H A D | hooks.c | 108 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 D | popen.c | 85 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 D | btpand.c | 255 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 D | hostres_snmp.c | 116 if ((hr_kd = kvm_open(NULL, _PATH_DEVNULL, NULL, O_RDONLY,
|
/freebsd-13-stable/usr.bin/systat/ |
H A D | main.c | 183 kd = kvm_openfiles(_PATH_DEVNULL, _PATH_DEVNULL, _PATH_DEVNULL,
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_mknodat.c | 57 if (stat(_PATH_DEVNULL, &st) != 0)
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_dns_server.c | 195 (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 D | util.c | 369 if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1)) {
|
/freebsd-13-stable/tests/sys/file/ |
H A D | closefrom_test.c | 136 fd = open(_PATH_DEVNULL, O_RDONLY); 138 fail_err("open(\" "_PATH_DEVNULL" \")");
|
/freebsd-13-stable/usr.sbin/pw/ |
H A D | pw_group.c | 283 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);
|