/third_party/python/Python/ |
H A D | dup2.c | 24 #ifdef F_DUPFD in dup2() 29 if (fcntl(fd1, F_DUPFD, fd2) < 0) in dup2()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl01.c | 6 * 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 D | fcntl12.c | 13 * - 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 D | fcntl02.c | 7 * 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 D | fcntl15.c | 140 fd[1] = SAFE_FCNTL(fd[0], F_DUPFD, 0); in run_test()
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
H A D | fcntl.h | 27 #define F_DUPFD 0 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/porting/liteos_m/user/include/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/aarch64/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/generic/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/m68k/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/mipsn32/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/arm/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/mips/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/mips64/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/powerpc/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/powerpc64/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/s390x/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/musl/arch/x32/bits/ |
H A D | fcntl.h | 22 #define F_DUPFD 0 macro
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | syscalls.rs | 30 use linux_raw_sys::general::F_DUPFD; 458 c_uint(F_DUPFD), 467 c_uint(F_DUPFD),
|
/third_party/musl/src/fcntl/ |
H A D | fcntl.c | 37 ret = __syscall(SYS_fcntl, fd, F_DUPFD, arg); in fcntl()
|
/third_party/musl/porting/liteos_a/user/src/fcntl/ |
H A D | fcntl.c | 34 ret = __syscall(SYS_fcntl, fd, F_DUPFD, arg); in fcntl()
|
/third_party/NuttX/fs/vfs/ |
H A D | fs_fcntl.c | 82 case F_DUPFD: in file_vfcntl()
|