Searched refs:dup3 (Results 1 - 3 of 3) sorted by path

/linux-master/fs/
H A Dfile.c1388 SYSCALL_DEFINE3(dup3, unsigned int, oldfd, unsigned int, newfd, int, flags)
/linux-master/tools/include/nolibc/
H A Dsys.h256 * int dup3(int old, int new, int flags);
267 int dup3(int old, int new, int flags) function
/linux-master/tools/testing/selftests/nolibc/
H A Dnolibc-test.c931 CASE_TEST(dup3_0); tmp = dup3(0, 100, 0); EXPECT_SYSNE(1, tmp, -1); close(tmp); break;
932 CASE_TEST(dup3_m1); tmp = dup3(-1, 100, 0); EXPECT_SYSER(1, tmp, -1, EBADF); if (tmp != -1) close(tmp); break;

Completed in 221 milliseconds