Home
last modified time | relevance | path

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

123456

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl01.c96 flags = fcntl(fd[2], F_GETFL, 0); in main()
105 flags = fcntl(fd[2], F_GETFL, 0); in main()
114 flags = fcntl(fd[2], F_GETFL, 0); in main()
123 flags = fcntl(fd[2], F_GETFL, 0); in main()
133 flags = fcntl(fd[2], F_GETFL, 0); in main()
Dfcntl04.c51 TEST(fcntl(fd, F_GETFL, 0)); in verify_fcntl()
/external/strace/xlat/
Dfcntlcmds.h11 #if !(defined(F_GETFL) || (defined(HAVE_DECL_F_GETFL) && HAVE_DECL_F_GETFL))
12 # define F_GETFL 3 macro
96 XLAT(F_GETFL),
Dfcntlcmds.in5 F_GETFL 3
/external/python/cpython2/Python/
Ddup2.c23 if (fcntl(fd1, F_GETFL) < 0) in dup2()
25 if (fcntl(fd2, F_GETFL) >= 0) in dup2()
/external/python/cpython3/Python/
Ddup2.c23 if (fcntl(fd1, F_GETFL) < 0) in dup2()
25 if (fcntl(fd2, F_GETFL) >= 0) in dup2()
/external/ltp/testcases/kernel/syscalls/eventfd2/
Deventfd2_02.c97 fl = fcntl(fd, F_GETFL); in main()
110 fl = fcntl(fd, F_GETFL); in main()
/external/ltp/testcases/kernel/syscalls/socket/
Dsocket02.c45 {SOCK_STREAM, 0, F_GETFL, "no non-blocking"},
46 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/external/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd03.c143 fl = fcntl(fd, F_GETFL); in main()
161 fl = fcntl(fd, F_GETFL); in main()
Dtimerfd01.c253 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) | O_NONBLOCK); in main()
265 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) & ~O_NONBLOCK); in main()
/external/ltp/testcases/kernel/syscalls/inotify_init/
Dinotify_init1_02.c141 fl = fcntl(fd, F_GETFL); in main()
158 fl = fcntl(fd, F_GETFL); in main()
/external/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair02.c48 {SOCK_STREAM, 0, F_GETFL, "no non-blocking"},
49 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/external/ltp/testcases/kernel/syscalls/pipe2/
Dpipe2_02.c140 fl = fcntl(fds[i], F_GETFL); in main()
158 fl = fcntl(fds[i], F_GETFL); in main()
/external/ltp/testcases/kernel/syscalls/signalfd4/
Dsignalfd4_02.c146 fl = fcntl(fd, F_GETFL); in main()
164 fl = fcntl(fd, F_GETFL); in main()
/external/libmojo/mojo/edk/test/
Dtest_utils_posix.cc21 int original_flags = fcntl(handle.handle, F_GETFL); in BlockingWrite()
42 int original_flags = fcntl(handle.handle, F_GETFL); in BlockingRead()
/external/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()
/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_nonblock.c112 sflag = fcntl(lstn_sk, F_GETFL, 0); in main()
132 cflag = fcntl(sk, F_GETFL, 0); in main()
/external/adhd/cras/src/common/
Dcras_util.c77 fl = fcntl(fd, F_GETFL); in cras_make_fd_nonblocking()
89 fl = fcntl(fd, F_GETFL); in cras_make_fd_blocking()
/external/devlib/devlib/instrument/
Dacmecape.py7 from fcntl import fcntl, F_GETFL, F_SETFL
22 flags = fcntl(fd, F_GETFL)
/external/libdaemon/libdaemon/
Ddnonblock.c37 if ((a = fcntl(fd, F_GETFL)) < 0) in daemon_nonblock()
/external/python/cpython2/Lib/
Dposixfile.py133 cur_fl = fcntl.fcntl(file.fileno(), fcntl.F_GETFL, 0)
145 l_flags = fcntl.fcntl(file.fileno(), fcntl.F_GETFL, 0)
/external/libusb/libusb/os/
Dpoll_posix.c36 ret = fcntl(pipefd[1], F_GETFL); in usbi_pipe()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnetutil.cc51 int flags = fcntl(fd, F_GETFL); in setBlocking()
/external/valgrind/memcheck/tests/linux/
Dtimerfd-syscall.c300 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) | O_NONBLOCK); in main()
310 fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) & ~O_NONBLOCK); in main()
/external/ppp/pppd/
Dtty.c496 fdflags = fcntl(0, F_GETFL); in tty_check_options()
591 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1 in connect_tty()
1055 flags = fcntl(pty_master, F_GETFL);
1059 flags = fcntl(ifd, F_GETFL);
1064 flags = fcntl(ofd, F_GETFL);

123456