/freebsd-11.0-release/crypto/heimdal/appl/ftp/ftpd/ |
H A D | pathnames.h | 40 #ifndef _PATH_DEVNULL 41 #define _PATH_DEVNULL "/dev/null" macro
|
/freebsd-11.0-release/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-11.0-release/contrib/tcsh/ |
H A D | pathnames.h | 99 #if defined(__EMX__) && !defined(_PATH_DEVNULL) 100 # define _PATH_DEVNULL "nul" macro 101 #endif /* __EMX__ && !_PATH_DEVNULL */ 135 #ifndef _PATH_DEVNULL 136 # define _PATH_DEVNULL "/dev/null" macro 137 #endif /* !_PATH_DEVNULL */
|
/freebsd-11.0-release/crypto/openssh/openbsd-compat/ |
H A D | daemon.c | 71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
/freebsd-11.0-release/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-11.0-release/contrib/opie/ |
H A D | opie_cfg.h | 129 #ifndef _PATH_DEVNULL 130 #define _PATH_DEVNULL "/dev/null" macro
|
/freebsd-11.0-release/sbin/dumpon/ |
H A D | dumpon.c | 117 printf("%s\n", _PATH_DEVNULL); 181 fd = open(_PATH_DEVNULL, O_RDONLY); 183 err(EX_OSFILE, "%s", _PATH_DEVNULL);
|
/freebsd-11.0-release/usr.sbin/cron/lib/ |
H A D | compat.c | 121 (void) close(STDIN); (void) open(_PATH_DEVNULL, 0); 122 (void) close(STDOUT); (void) open(_PATH_DEVNULL, 1); 123 (void) close(STDERR); (void) open(_PATH_DEVNULL, 2);
|
/freebsd-11.0-release/lib/libc/gen/ |
H A D | daemon.c | 87 if (!noclose && (fd = _open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
/freebsd-11.0-release/usr.sbin/cron/cron/ |
H A D | popen.c | 133 (void)open(_PATH_DEVNULL, O_RDWR); 147 (void)open(_PATH_DEVNULL, O_RDWR); 149 (void)open(_PATH_DEVNULL, O_RDWR);
|
/freebsd-11.0-release/include/ |
H A D | paths.h | 54 #define _PATH_DEVNULL "/dev/null" macro
|
/freebsd-11.0-release/sbin/hastd/ |
H A D | hooks.c | 106 fd = open(_PATH_DEVNULL, O_RDONLY); 109 _PATH_DEVNULL); 117 fd = open(_PATH_DEVNULL, O_WRONLY); 120 _PATH_DEVNULL);
|
/freebsd-11.0-release/tests/sys/file/ |
H A D | closefrom_test.c | 136 fd = open(_PATH_DEVNULL, O_RDONLY); 138 fail_err("open(\" "_PATH_DEVNULL" \")");
|
/freebsd-11.0-release/usr.sbin/autofs/ |
H A D | popen.c | 83 nullfd = open(_PATH_DEVNULL, O_RDWR, 0); 85 log_err(1, "cannot open %s", _PATH_DEVNULL);
|
/freebsd-11.0-release/usr.sbin/bluetooth/btpand/ |
H A D | btpand.c | 253 fd = open(_PATH_DEVNULL, O_RDWR, 0); 255 log_err("Could not open %s", _PATH_DEVNULL);
|
/freebsd-11.0-release/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-11.0-release/usr.bin/systat/ |
H A D | main.c | 181 kd = kvm_openfiles(_PATH_DEVNULL, _PATH_DEVNULL, _PATH_DEVNULL,
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_mknodat.c | 57 if (stat(_PATH_DEVNULL, &st) != 0)
|
/freebsd-11.0-release/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-11.0-release/usr.bin/patch/ |
H A D | util.c | 369 if (strnEQ(at, _PATH_DEVNULL, sizeof(_PATH_DEVNULL) - 1))
|
/freebsd-11.0-release/usr.sbin/pw/ |
H A D | pw_group.c | 276 freopen(_PATH_DEVNULL, "w", stderr); 333 freopen(_PATH_DEVNULL, "w", stderr); 390 freopen(_PATH_DEVNULL, "w", stderr); 548 freopen(_PATH_DEVNULL, "w", stderr); 639 freopen(_PATH_DEVNULL, "w", stderr);
|