/freebsd-current/crypto/heimdal/appl/ftp/ftpd/ |
H A D | pathnames.h | 40 #ifndef _PATH_DEVNULL 41 #define _PATH_DEVNULL "/dev/null" macro
|
/freebsd-current/lib/libc/tests/stdio/ |
H A D | freopen_test.c | 63 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 D | fdopen_test.c | 65 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 D | fopen_test.c | 77 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 D | libcasper_impl.c | 56 nullfd = open(_PATH_DEVNULL, O_RDWR); 58 errx(1, "Unable to open %s", _PATH_DEVNULL);
|
/freebsd-current/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-current/crypto/openssh/openbsd-compat/ |
H A D | daemon.c | 71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
/freebsd-current/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-current/usr.sbin/cron/cron/ |
H A D | popen.c | 121 (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 D | popen.c | 82 nullfd = open(_PATH_DEVNULL, O_RDWR, 0); 84 log_err(1, "cannot open %s", _PATH_DEVNULL);
|
/freebsd-current/sbin/hastd/ |
H A D | hooks.c | 105 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 D | daemon.c | 97 nullfd = _open(_PATH_DEVNULL, O_RDWR, 0);
|
/freebsd-current/include/ |
H A D | paths.h | 56 #define _PATH_DEVNULL "/dev/null" macro
|
/freebsd-current/usr.sbin/bluetooth/btpand/ |
H A D | btpand.c | 250 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 D | hostres_snmp.c | 114 if ((hr_kd = kvm_open(NULL, _PATH_DEVNULL, NULL, O_RDONLY,
|
/freebsd-current/usr.bin/systat/ |
H A D | main.c | 186 kd = kvm_openfiles(_PATH_DEVNULL, _PATH_DEVNULL, _PATH_DEVNULL,
|
/freebsd-current/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_mknodat.c | 57 if (stat(_PATH_DEVNULL, &st) != 0)
|
/freebsd-current/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-current/usr.bin/patch/ |
H A D | util.c | 368 if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1)) {
|
/freebsd-current/tests/sys/file/ |
H A D | closefrom_test.c | 134 fd = open(_PATH_DEVNULL, O_RDONLY); 136 fail_err("open(\" "_PATH_DEVNULL" \")");
|
/freebsd-current/usr.sbin/pw/ |
H A D | pw_group.c | 285 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 D | t_paths.c | 69 { _PATH_DEVNULL, PATH_DEV },
|
/freebsd-current/usr.bin/top/ |
H A D | utils.c | 311 kd = kvm_open(NULL, _PATH_DEVNULL, NULL, O_RDONLY, NULL);
|