Home
last modified time | relevance | path

Searched refs:nullfd (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/tools/testing/selftests/x86/
Dsyscall_numbering.c44 static int nullfd = -1; /* File descriptor for /dev/null */ variable
117 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()
/Linux-v6.6/tools/perf/tests/
Dbuiltin-test.c226 int nullfd = open("/dev/null", O_WRONLY); in run_test() local
228 if (nullfd >= 0) { in run_test()
232 dup2(nullfd, STDOUT_FILENO); in run_test()
234 close(nullfd); in run_test()