Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 1 - 25 of 172) sorted by relevance

1234567

/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A 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/ltp/testcases/kernel/syscalls/eventfd2/
H A Deventfd2_02.c25 flags = SAFE_FCNTL(fd, F_GETFL); in run()
30 flags = SAFE_FCNTL(fd, F_GETFL); in run()
/third_party/ltp/testcases/kernel/syscalls/inotify_init/
H A Dinotify_init1_02.c28 flags = SAFE_FCNTL(fd, F_GETFL); in run()
34 flags = SAFE_FCNTL(fd, F_GETFL); in run()
/third_party/python/Python/
H A Ddup2.c25 if (fcntl(fd1, F_GETFL) < 0) in dup2()
27 if (fcntl(fd2, F_GETFL) >= 0) in dup2()
/third_party/ltp/testcases/kernel/syscalls/pipe2/
H A 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"},
H A Dpipe2_02_child.c22 if (fcntl(fd, F_GETFL) < 0 && errno == EBADF) in main()
/third_party/ltp/testcases/kernel/syscalls/signalfd4/
H A Dsignalfd4_02.c141 fl = fcntl(fd, F_GETFL); in main()
159 fl = fcntl(fd, F_GETFL); in main()
/third_party/ltp/testcases/kernel/syscalls/socketpair/
H A 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/syscalls/socket/
H A 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/timerfd/
H A Dtimerfd03.c137 fl = fcntl(fd, F_GETFL); in main()
155 fl = fcntl(fd, F_GETFL); in main()
/third_party/mbedtls/library/
H A Dnet_sockets.c326 if ((lwip_fcntl(ctx->fd, F_GETFL, 0) & O_NONBLOCK) != O_NONBLOCK) {
328 if ((fcntl(ctx->fd, F_GETFL) & O_NONBLOCK) != O_NONBLOCK) {
468 return lwip_fcntl(ctx->fd, F_SETFL, lwip_fcntl(ctx->fd, F_GETFL, 0) & ~O_NONBLOCK);
470 return fcntl(ctx->fd, F_SETFL, fcntl(ctx->fd, F_GETFL) & ~O_NONBLOCK);
483 return lwip_fcntl(ctx->fd, F_SETFL, lwip_fcntl(ctx->fd, F_GETFL, 0) | O_NONBLOCK);
485 return fcntl(ctx->fd, F_SETFL, fcntl(ctx->fd, F_GETFL) | O_NONBLOCK);
/third_party/musl/libc-test/src/functionalext/supplement/fcntl/fcntl_gtest/
H A Dfcntl_fcntl_test.cpp94 * @tc.desc: Verify that the fcntl interface, when used with the F_GETFL parameter, retrieves the flag information of
103 int fdFlags = fcntl(fd, F_GETFL); in HWTEST_F()
154 * @tc.desc: Verify that the fcntl interface, when used with the F_GETFL and F_SETFL parameters, can retrieve and set
163 int fdFlags = fcntl(fd, F_GETFL); in HWTEST_F()
169 int updatedFlags = fcntl(fd, F_GETFL); in HWTEST_F()
/third_party/musl/porting/linux/user/src/stdio/
H A D__fdopen.c73 int flags = syscall(SYS_fcntl, fd, F_GETFL, 0); in __fdopen()
89 flags = __syscall(SYS_fcntl, fd, F_GETFL); in __fdopen()
/third_party/musl/src/stdio/
H A D__fdopen.c73 int flags = syscall(SYS_fcntl, fd, F_GETFL, 0); in __fdopen()
89 flags = __syscall(SYS_fcntl, fd, F_GETFL); in __fdopen()
/third_party/node/deps/cares/src/lib/
H A Dares_event_wake_pipe.c83 val = fcntl(p->filedes[0], F_GETFL, 0); in ares_pipeevent_init()
89 val = fcntl(p->filedes[1], F_GETFL, 0); in ares_pipeevent_init()
/third_party/ltp/testcases/kernel/security/tomoyo/
H A 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/musl/Benchmark/musl/
H A Dlibc_hilog.cpp75 if (g_socketFd == INVALID_SOCKET || fcntl(g_socketFd, F_GETFL) == -1) { in GetSocketFdInstance()
78 if (g_socketFd == INVALID_SOCKET || fcntl(g_socketFd, F_GETFL) == -1) { in GetSocketFdInstance()
/third_party/musl/porting/liteos_m/kernel/include/bits/
H A Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/porting/liteos_a/kernel/include/bits/
H A Dfcntl.h30 #define F_GETFL 3 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
H A Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/porting/liteos_m/user/include/bits/
H A Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/aarch64/bits/
H A Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/generic/bits/
H A Dfcntl.h25 #define F_GETFL 3 macro
/third_party/musl/arch/m68k/bits/
H A Dfcntl.h25 #define F_GETFL 3 macro

Completed in 9 milliseconds

1234567