Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/tools/perf/tests/
Dbuiltin-test.c204 int nullfd = open("/dev/null", O_WRONLY); in run_test() local
206 if (nullfd >= 0) { in run_test()
210 dup2(nullfd, STDOUT_FILENO); in run_test()
212 close(nullfd); in run_test()