Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 1 – 25 of 173) sorted by relevance

1234567

/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl01.c97 flags = fcntl(fd[2], F_GETFL, 0); in main()
106 flags = fcntl(fd[2], F_GETFL, 0); in main()
115 flags = fcntl(fd[2], F_GETFL, 0); in main()
124 flags = fcntl(fd[2], F_GETFL, 0); in main()
134 flags = fcntl(fd[2], F_GETFL, 0); in main()
/third_party/python/Python/
Ddup2.c23 if (fcntl(fd1, F_GETFL) < 0) in dup2()
25 if (fcntl(fd2, F_GETFL) >= 0) in dup2()
/third_party/ltp/testcases/kernel/syscalls/eventfd2/
Deventfd2_02.c96 fl = fcntl(fd, F_GETFL); in main()
109 fl = fcntl(fd, F_GETFL); in main()
/third_party/ltp/testcases/kernel/syscalls/socket/
Dsocket02.c32 {SOCK_STREAM, 0, F_GETFL, "no non-blocking"},
33 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/third_party/ltp/testcases/kernel/syscalls/pipe2/
Dpipe2_01.c39 {O_DIRECT, F_GETFL, 0, "Test pipe2 using O_DIRECT flag"},
40 {O_NONBLOCK, F_GETFL, 1, "Test pipe2 using O_NONBLOCK flag"},
Dpipe2_02_child.c22 if (fcntl(fd, F_GETFL) < 0 && errno == EBADF) in main()
/third_party/ltp/testcases/kernel/syscalls/inotify_init/
Dinotify_init1_02.c140 fl = fcntl(fd, F_GETFL); in main()
157 fl = fcntl(fd, F_GETFL); in main()
/third_party/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd03.c142 fl = fcntl(fd, F_GETFL); in main()
160 fl = fcntl(fd, F_GETFL); in main()
/third_party/ltp/testcases/kernel/syscalls/signalfd4/
Dsignalfd4_02.c146 fl = fcntl(fd, F_GETFL); in main()
164 fl = fcntl(fd, F_GETFL); in main()
/third_party/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair02.c35 {SOCK_STREAM, 0, F_GETFL, "no non-blocking"},
36 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_rewrite_test.c110 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test()
154 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test()
/third_party/ltp/utils/sctp/func_tests/
Dtest_1_to_1_nonblock.c116 sflag = fcntl(lstn_sk, F_GETFL, 0); in main()
136 cflag = fcntl(sk, F_GETFL, 0); in main()
/third_party/musl/src/dirent/
Dfdopendir.c16 if (fcntl(fd, F_GETFL) & O_PATH) { in fdopendir()
/third_party/musl/porting/liteos_m/kernel/include/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/aarch64/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/arm/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/powerpc64/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/mips64/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/mips/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/powerpc/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/m68k/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/porting/uniproton/kernel/include/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/porting/liteos_m/user/include/bits/
Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/mipsn32/bits/
Dfcntl.h25 #define F_GETFL 3 macro

1234567