Home
last modified time | relevance | path

Searched refs:O_NDELAY (Results 1 – 25 of 61) sorted by relevance

123

/external/strace/xlat/
Dopen_mode_flags.in90 #if defined O_NDELAY && O_NDELAY & O_NONBLOCK /* O_NDELAY is unusual */
93 /* On sparc32 O_NDELAY is erroneously defined to (0x0004 | O_NONBLOCK). */
94 /* On many architectures O_NDELAY is defined to O_NONBLOCK. */
96 # undef O_NDELAY
98 #endif /* O_NDELAY & O_NONBLOCK */
101 O_NDELAY 04
103 O_NDELAY
Dopen_mode_flags.h264 #if defined O_NDELAY && O_NDELAY & O_NONBLOCK
267 # undef O_NDELAY
271 #if defined(O_NDELAY) || (defined(HAVE_DECL_O_NDELAY) && HAVE_DECL_O_NDELAY)
273 static_assert((O_NDELAY) == (04), "O_NDELAY != 04");
276 # define O_NDELAY 04
686 #if defined O_NDELAY && O_NDELAY & O_NONBLOCK
692 # undef O_NDELAY
697 XLAT(O_NDELAY),
699 #if defined(O_NDELAY) || (defined(HAVE_DECL_O_NDELAY) && HAVE_DECL_O_NDELAY)
700 XLAT(O_NDELAY),
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl01.c102 if (fcntl(fd[2], F_SETFL, O_NDELAY) == -1) in main()
106 if ((flags & (O_NDELAY | O_WRONLY)) == 0) in main()
108 flags, O_NDELAY | O_WRONLY); in main()
120 if (fcntl(fd[2], F_SETFL, O_NDELAY | O_APPEND) < 0) in main()
124 if ((flags & (O_NDELAY | O_APPEND | O_WRONLY)) == 0) in main()
127 O_NDELAY | O_APPEND | O_SYNC | O_WRONLY); in main()
Dfcntl08.c67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK)); in main()
Dfcntl16.c710 if (NO_NFS && run_test(O_CREAT | O_RDWR | O_TRUNC | O_NDELAY, in main()
/external/toybox/toys/net/
Dmicrocom.c45 TT.fd = xopen(*toys.optargs, O_RDWR | O_NOCTTY | O_NDELAY); in microcom_main()
46 if (-1==(i = fcntl(TT.fd, F_GETFL, 0)) || fcntl(TT.fd, F_SETFL, i&~O_NDELAY)) in microcom_main()
/external/ltp/testcases/kernel/syscalls/kill/
Dkill02.c727 || (fcntl(pipe1_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup()
733 || (fcntl(pipe2_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup()
739 || (fcntl(pipeA_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup()
745 || (fcntl(pipeB_fd[0], F_SETFL, O_NDELAY) == -1)) { in setup()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h96 #ifndef O_NDELAY
97 #define O_NDELAY O_NONBLOCK macro
/external/ltp/testcases/kernel/fs/doio/
Dopen_flags.c141 #if O_NDELAY
142 {"O_NDELAY", O_NDELAY},
Dgrowfiles.c285 O_RDWR | O_CREAT | O_NDELAY,
289 O_RDWR | O_CREAT | O_NDELAY | O_SYNC,
290 O_RDWR | O_CREAT | O_NDELAY | O_SYNC | O_BIG,
308 O_RDWR | O_CREAT | O_NDELAY,
310 O_RDWR | O_CREAT | O_SYNC | O_NDELAY,
311 O_RDWR | O_CREAT | O_APPEND | O_NDELAY,
/external/python/cpython2/Lib/
Dposixfile.py126 if 'n' in which: l_flags = l_flags | os.O_NDELAY
149 if os.O_NDELAY & l_flags: which = which + 'n'
/external/minijail/linux-x86/
Dlibconstants.gen.c707 #ifdef O_NDELAY
708 { "O_NDELAY", (unsigned long) O_NDELAY },
/external/python/cpython2/Lib/plat-irix5/
DFILE.py161 O_NDELAY = 0x04 variable
/external/python/cpython2/RISCOS/Modules/
Driscosmodule.c452 #ifdef O_NDELAY in all_ins()
453 if (ins(d, "O_NDELAY", (long)O_NDELAY)) return -1; in all_ins()
/external/linux-kselftest/tools/testing/selftests/net/
Dtcp_mmap.c152 fcntl(fd, F_SETFL, O_NDELAY); in child_thread()
/external/toybox/toys/pending/
Dgetty.c131 xopen_stdio(TT.tty_name, O_RDWR|O_NDELAY|O_CLOEXEC); in open_tty()
/external/libchrome/base/files/
Dfile_posix.cc485 open_flags |= O_NOCTTY | O_NDELAY; in DoInitialize()
/external/python/cpython2/Lib/plat-irix6/
DFILE.py568 O_NDELAY = 0x04 variable
/external/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c109 static int ndelay = O_NDELAY; /* additional flag to open */
/external/u-boot/tools/
Dkwboot.c255 fd = open(path, O_RDWR|O_NOCTTY|O_NDELAY); in kwboot_open_tty()
/external/python/cpython2/Lib/plat-atheos/
DIN.py626 O_NDELAY = O_NONBLOCK variable
/external/python/cpython3/Doc/library/
Dfcntl.rst152 rv = fcntl.fcntl(f, fcntl.F_SETFL, os.O_NDELAY)
/external/python/cpython2/Doc/library/
Dfcntl.rst149 rv = fcntl.fcntl(f, fcntl.F_SETFL, os.O_NDELAY)
/external/nos/test/system-test-harness/src/
Dutil.cc428 tty_fd = open(path, O_RDWR | O_NOCTTY | O_NDELAY); in Init()
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dzerrors_solaris_amd64.go693 O_NDELAY = 0x4 const

123