Home
last modified time | relevance | path

Searched refs:F_DUPFD (Results 1 - 25 of 64) sorted by relevance

123

/third_party/python/Python/
H A Ddup2.c24 #ifdef F_DUPFD in dup2()
29 if (fcntl(fd1, F_DUPFD, fd2) < 0) in dup2()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl01.c6 * Test F_DUPFD, F_SETFL cmds of fcntl
13 * 1. Testing F_DUPFD cmd with arg less than, equal to, and greater
76 if ((fd[2] = fcntl(fd[1], F_DUPFD, 1)) == -1) in main()
83 if ((fd[4] = fcntl(fd[1], F_DUPFD, fd2[3])) < 0) in main()
90 if ((fd[8] = fcntl(fd[1], F_DUPFD, fd2[5])) < 0) in main()
H A Dfcntl12.c13 * - EMFILE when cmd is F_DUPFD and the per-process limit on the number of open
39 TST_EXP_FAIL2(fcntl(1, F_DUPFD, 1), EMFILE, in verify_fcntl()
40 "fcntl(1, F_DUPFD, 1)"); in verify_fcntl()
H A Dfcntl02.c7 * Basic test for fcntl(2) using F_DUPFD argument.
28 TEST(fcntl(fd, F_DUPFD, min_fd)); in verify_fcntl()
31 tst_res(TFAIL | TTERRNO, "fcntl(%s, F_DUPFD, %i) failed", in verify_fcntl()
37 tst_res(TFAIL, "fcntl(%s, F_DUPFD, %i) returned %ld < %i", in verify_fcntl()
41 tst_res(TPASS, "fcntl(%s, F_DUPFD, %i) returned %ld", in verify_fcntl()
H A Dfcntl15.c140 fd[1] = SAFE_FCNTL(fd[0], F_DUPFD, 0); in run_test()
/third_party/musl/porting/liteos_m/kernel/include/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/porting/liteos_a/kernel/include/bits/
H A Dfcntl.h27 #define F_DUPFD 0 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/porting/liteos_m/user/include/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/aarch64/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/generic/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/m68k/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/mipsn32/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/arm/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/mips/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/mips64/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/powerpc/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/powerpc64/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/s390x/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/musl/arch/x32/bits/
H A Dfcntl.h22 #define F_DUPFD 0 macro
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
H A Dsyscalls.rs30 use linux_raw_sys::general::F_DUPFD;
458 c_uint(F_DUPFD),
467 c_uint(F_DUPFD),
/third_party/musl/src/fcntl/
H A Dfcntl.c37 ret = __syscall(SYS_fcntl, fd, F_DUPFD, arg); in fcntl()
/third_party/musl/porting/liteos_a/user/src/fcntl/
H A Dfcntl.c34 ret = __syscall(SYS_fcntl, fd, F_DUPFD, arg); in fcntl()
/third_party/NuttX/fs/vfs/
H A Dfs_fcntl.c82 case F_DUPFD: in file_vfcntl()

Completed in 9 milliseconds

123