Searched refs:O_NDELAY (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-10-stable/contrib/ntp/libntp/
H A Dsocket.c142 #undef O_NDELAY macro
157 #elif defined(O_NDELAY) /* generally the same as FNDELAY */
158 if (fcntl(fd, F_SETFL, O_NDELAY) < 0) {
159 msyslog(LOG_ERR, "fcntl(O_NDELAY) fails on fd #%d: %m",
H A Diosignal.c37 # define FNDELAY O_NDELAY
/freebsd-10-stable/cddl/lib/libdtrace/
H A Dio.d103 inline int O_NDELAY = 0x0004;
104 #pragma D binding "1.1" O_NDELAY
/freebsd-10-stable/contrib/apr/file_io/unix/
H A Dpipe.c44 # elif defined(O_NDELAY)
45 fd_flags &= ~O_NDELAY;
79 # elif defined(O_NDELAY)
80 fd_flags |= O_NDELAY;
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c86 O_NOCTTY | O_NONBLOCK | O_NDELAY | O_SYNC | O_TRUNC | 0666);
/freebsd-10-stable/contrib/apr/network_io/unix/
H A Dsockopt.c30 #elif defined(O_NDELAY)
31 fd_flags &= ~O_NDELAY;
56 #elif defined(O_NDELAY)
57 fd_flags |= O_NDELAY;
/freebsd-10-stable/contrib/libreadline/
H A Dinput.c80 #if !defined (O_NDELAY) && defined (O_NONBLOCK)
81 # define O_NDELAY O_NONBLOCK /* Posix style */ macro
208 #if defined (O_NDELAY)
213 fcntl (tty, F_SETFL, (tem | O_NDELAY));
225 #endif /* O_NDELAY */
/freebsd-10-stable/contrib/gdb/gdb/
H A Dinflow.c467 #if defined (O_NDELAY)
468 /* If O_NDELAY and O_NONBLOCK are defined to the same thing, we will
471 if (flags & O_NDELAY)
472 printf_filtered (" | O_NDELAY");
473 flags &= ~O_NDELAY;
/freebsd-10-stable/sys/sys/
H A Dfcntl.h171 #define O_NDELAY O_NONBLOCK /* compat */ macro
/freebsd-10-stable/contrib/ntp/ntpd/
H A Drefclock_tpro.c81 fd = open(device, O_RDONLY | O_NDELAY, 0777);
H A Drefclock_tsyncpci.c425 hBoard.file_descriptor = open(device, O_RDONLY | O_NDELAY, 0777);
/freebsd-10-stable/contrib/libreadline/examples/rlfe/
H A Dos.h363 * O_NONBLOCK Same as O_NDELAY above.
367 * whereas open("/dev/ttyy08", O_RDWR|O_NDELAY |O_NOCTTY) went through.
369 * For this simple reason I now favour O_NDELAY. jw. 4.5.95
375 #if !defined(O_NONBLOCK) && defined(O_NDELAY)
376 # define O_NONBLOCK O_NDELAY
/freebsd-10-stable/contrib/gdb/gdb/tui/
H A Dtui-io.c626 #ifdef O_NDELAY
627 (void) fcntl (tui_readline_pipe[0], F_SETFL, O_NDELAY);
/freebsd-10-stable/lib/libedit/
H A Dread.c148 #if defined(F_SETFL) && defined(O_NDELAY)
152 if (fcntl(fd, F_SETFL, e & ~O_NDELAY) == -1)
156 #endif /* F_SETFL && O_NDELAY */
H A Dreadline.c2048 #elif defined(F_SETFL) && defined(O_NDELAY)
2051 if (fcntl(el->el_infd, F_SETFL, n|O_NDELAY) < 0)
/freebsd-10-stable/usr.sbin/ppp/
H A Dmain.c100 #ifdef O_NDELAY
101 #define O_NONBLOCK O_NDELAY
/freebsd-10-stable/usr.bin/chat/
H A Dchat.c105 #define O_NONBLOCK O_NDELAY
/freebsd-10-stable/sys/i386/ibcs2/
H A Dibcs2_fcntl.c165 if (flags & O_NDELAY) r |= IBCS2_O_NONBLOCK;
/freebsd-10-stable/usr.sbin/sicontrol/
H A Dsicontrol.c190 fd = open(CONTROLDEV, O_RDWR|O_NDELAY);
/freebsd-10-stable/sys/compat/svr4/
H A Dsvr4_fcntl.c130 r |= (l & O_NDELAY) ? SVR4_O_NONBLOCK : 0;
/freebsd-10-stable/usr.sbin/dconschat/
H A Ddconschat.c710 flags |= O_NDELAY;
/freebsd-10-stable/contrib/tcsh/
H A Dsh.h378 #if !defined(O_RDONLY) || !defined(O_NDELAY)
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_vdev.c386 if ((fd = open(path, O_RDWR | O_NDELAY)) < 0)
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_pool.c2378 if ((fd = open(path, O_RDWR | O_NDELAY)) < 0) {
3879 if ((fd = open(diskname, O_RDONLY|O_NDELAY)) >= 0) {
3965 if ((fd = open(path, O_RDWR | O_NDELAY)) < 0) {
/freebsd-10-stable/sys/compat/linux/
H A Dlinux_file.c1289 if (result & O_NDELAY)

Completed in 402 milliseconds

12