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()
204 int nullfd = open("/dev/null", O_WRONLY); in run_test() local206 if (nullfd >= 0) { in run_test()210 dup2(nullfd, STDOUT_FILENO); in run_test()212 close(nullfd); in run_test()