/freebsd-current/crypto/openssl/test/recipes/ |
H A D | 04-test_provider_fallback.t | 16 $ENV{OPENSSL_CONF} = File::Spec->devnull();
|
H A D | 04-test_provider_pkey.t | 16 $ENV{OPENSSL_CONF} = File::Spec->devnull();
|
H A D | 15-test_out_option.t | 65 my $path = File::Spec->canonpath(File::Spec->devnull());
|
H A D | 01-test_symbol_presence.t | 11 use File::Spec::Functions qw(devnull); 50 open STDERR, ">", devnull(); 51 open STDOUT, ">", devnull();
|
H A D | 80-test_ocsp.t | 14 use File::Spec::Functions qw/devnull catfile/;
|
/freebsd-current/sys/contrib/openzfs/cmd/zed/ |
H A D | zed.c | 189 int devnull; local 192 devnull = open("/dev/null", O_RDWR); 193 if (devnull < 0) 196 if (dup2(devnull, STDIN_FILENO) < 0) 200 if (dup2(devnull, STDOUT_FILENO) < 0) 204 if (dup2(devnull, STDERR_FILENO) < 0) 208 if ((devnull > STDERR_FILENO) && (close(devnull) < 0))
|
/freebsd-current/crypto/openssh/regress/misc/fuzz-harness/ |
H A D | agent_fuzz_helper.c | 136 reset_sockettab(int devnull) argument 141 if ((fd = dup(devnull)) == -1) { 154 static int devnull = -1; local 157 if (devnull == -1) { 160 devnull = devnull_or_die(); 166 reset_sockettab(devnull);
|
/freebsd-current/tests/sys/file/ |
H A D | closefrom_test.c | 130 devnull(void) function 150 start = devnull(); 170 (void)devnull(); 274 (void)devnull(); 328 (void)devnull();
|
/freebsd-current/contrib/wpa/src/utils/ |
H A D | os_unix.c | 196 int devnull; local 201 devnull = open("/dev/null", O_RDWR); 202 if (devnull < 0) 205 if (dup2(devnull, STDIN_FILENO) < 0) { 206 close(devnull); 210 if (dup2(devnull, STDOUT_FILENO) < 0) { 211 close(devnull); 215 if (dup2(devnull, STDERR_FILENO) < 0) { 216 close(devnull);
|
/freebsd-current/contrib/netbsd-tests/fs/common/ |
H A D | fstest_nfs.c | 84 int devnull; local 132 if (read(pipes[0], &devnull, 4) == -1)
|
/freebsd-current/crypto/openssl/ssl/statem/ |
H A D | statem_dtls.c | 641 unsigned char devnull[256]; local 645 devnull, 647 sizeof(devnull) ? sizeof(devnull) : 738 unsigned char devnull[256]; local 742 devnull, 744 sizeof(devnull) ? sizeof(devnull) :
|
/freebsd-current/usr.bin/xinstall/ |
H A D | xinstall.c | 806 int devnull, files_match, from_fd, serrno, stripped, target; local 832 devnull = 0; 834 devnull = 1; 849 if (!devnull && (from_fd = open(from_name, O_RDONLY, 0)) < 0) 856 if (devnull) 873 if (!devnull) { 997 if (dopreserve && !files_match && !devnull) { 1050 if (!dounpriv && !devnull && (flags & SETFLAGS || 1068 if (!devnull)
|
/freebsd-current/tests/sys/kern/ |
H A D | unix_passfd_test.c | 77 devnull(int *fdp) function 621 devnull(&putfd); 749 devnull(&putfd); 841 devnull(&putfd); 883 devnull(&putfd);
|
/freebsd-current/crypto/openssh/ |
H A D | misc.c | 2683 int devnull, ret = 0; local 2685 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { 2690 if ((do_stdin && dup2(devnull, STDIN_FILENO) == -1) || 2691 (do_stdout && dup2(devnull, STDOUT_FILENO) == -1) || 2692 (do_stderr && dup2(devnull, STDERR_FILENO) == -1)) { 2696 if (devnull > STDERR_FILENO) 2697 close(devnull); 2717 int fd, devnull, p[2], i; local 2802 if ((devnull = open(_PATH_DEVNULL, O_RDWR)) == -1) { 2807 if (dup2(devnull, STDIN_FILEN [all...] |
/freebsd-current/contrib/one-true-awk/ |
H A D | makefile | 107 cd testdir; rm -fr arnold-fixes beebe devnull echo foo* \
|
/freebsd-current/usr.sbin/traceroute/ |
H A D | traceroute.c | 319 static const char devnull[] = "/dev/null"; variable 506 if (open(devnull, O_RDONLY) < 0 || 507 open(devnull, O_RDONLY) < 0 || 508 open(devnull, O_RDONLY) < 0) { 510 prog, devnull, strerror(errno));
|
/freebsd-current/crypto/openssl/util/perl/OpenSSL/ |
H A D | Test.pm | 68 catdir catfile splitpath catpath devnull abs2rel/; 460 open STDOUT, ">", devnull(); 461 open STDERR, ">", devnull(); 1253 my $null = devnull();
|
H A D | config.pm | 62 my $nul = File::Spec->devnull();
|
/freebsd-current/sys/kern/ |
H A D | kern_descrip.c | 2740 int i, error, devnull; local 2746 devnull = -1; 2752 if (devnull != -1) { 2753 error = kern_dup(td, FDDUP_FIXED, 0, devnull, i); 2758 devnull = td->td_retval[0]; 2759 KASSERT(devnull == i, ("we didn't get our fd"));
|