Searched refs:nullfd (Results 1 – 2 of 2) sorted by relevance
44 static int nullfd = -1; /* File descriptor for /dev/null */ variable117 register long long arg1 asm("rdi") = nullfd; in probe_syscall()451 nullfd = open("/dev/null", O_RDWR); in main()452 if (nullfd < 0) { in main()
226 int nullfd = open("/dev/null", O_WRONLY); in run_test() local228 if (nullfd >= 0) { in run_test()232 dup2(nullfd, STDOUT_FILENO); in run_test()234 close(nullfd); in run_test()