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

12345

/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dfcntl.h36 #define O_NDELAY _FNDELAY /* Non-blocking I/O (4.2 style) */ macro
/illumos-gate/usr/src/lib/libbc/inc/5include/sys/
H A Dfcntl.h34 #define O_NDELAY _FNBIO /* Non-blocking I/O (S5 style) */ macro
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dopendir.c55 O_RDONLY | O_NDELAY | O_LARGEFILE, 0)) < 0)
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtypeahead.c83 * required, since O_NDELAY must be set. calling fcntl() or dup()
87 * setting O_NDELAY will cause all normal terminal i/o to return
95 * since the new file descriptor MUST have O_NDELAY set for the
104 * open(tty, O_RDONLY | O_NDELAY) : -1;
108 O_NDELAY)) >= 0)
H A Dttimeout.c101 flags &= ~O_NDELAY;
103 flags |= O_NDELAY;
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DInitialize.c67 O_NDELAY | O_RDONLY);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.sed.in65 SED_REPLACE(O_NDELAY)
H A Dio.d.in171 inline int O_NDELAY = @O_NDELAY@;
172 #pragma D binding "1.1" O_NDELAY
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_devstamp.c52 if ((fd = open(np->rname, O_RDONLY | O_NDELAY, 0)) < 0)
92 if ((fd = open(np->rname, O_RDWR | O_NDELAY, 0)) < 0)
H A Dmeta_repartition.c64 if ((fd = open(rname, (O_RDONLY|O_NDELAY), 0)) < 0) {
75 fd = open(n, (O_RDONLY|O_NDELAY), 0);
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dfcntl.c63 |O_NDELAY|FNBIO|FASYNC)
129 if (arg & (O_NDELAY))
173 narg |= O_NDELAY;
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dfcntl.c62 |O_NDELAY|FASYNC)
126 if (arg & (O_NDELAY))
168 narg |= O_NDELAY;
/illumos-gate/usr/src/lib/libast/common/features/
H A Dfcntl.c246 #ifndef O_NDELAY
294 #ifndef O_NDELAY
311 #ifdef O_NDELAY
312 printf("#define O_NONBLOCK O_NDELAY\n");
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dopendir.c49 if ((fd = open(name, O_RDONLY | O_NDELAY)) == -1)
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c84 O_LARGEFILE | O_NOCTTY | O_NONBLOCK | O_NDELAY | O_RSYNC |
/illumos-gate/usr/src/test/zfs-tests/cmd/devname2devid/
H A Ddevname2devid.c74 if ((fd = open(device, O_RDONLY|O_NDELAY)) < 0) {
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_connect.c123 if (fctlflg & (O_NDELAY | O_NONBLOCK)) {
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dslice.c135 fd = open(devpath, O_RDONLY|O_NDELAY);
230 fd = open(devpath, O_RDONLY|O_NDELAY);
535 if ((sfd = open(sp->devpath, O_RDONLY|O_NDELAY)) >= 0) {
577 cooked_fd = open(localpath, O_RDONLY|O_NDELAY);
579 cooked_fd = open(dp->name, O_RDONLY|O_NDELAY);
721 if ((fd = open(devp->devpath, O_RDONLY|O_NDELAY)) >= 0) {
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c490 * when child sets O_NDELAY or O_NONBLOCK on stdin
496 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) {
497 fflags &= ~O_NDELAY;
640 * when child sets O_NDELAY or O_NONBLOCK on stdin
646 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) {
647 fflags &= ~O_NDELAY;
/illumos-gate/usr/src/ucbhead/sys/
H A Dfcntl.h57 #define O_NDELAY 04 /* Non-blocking I/O */ macro
/illumos-gate/usr/src/cmd/cdrw/
H A Ddevice.c126 fd = open(devnode, O_RDONLY|O_NDELAY);
457 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) {
478 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) {
494 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) {
518 fd = open(node, O_RDONLY|O_NDELAY);
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c94 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) {
303 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) {
433 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) {
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dcallers.c247 DEBUG(7, "opening with O_NDELAY set\n%s", "");
248 dcf = open(dcname, (O_RDWR | O_NDELAY));
249 saved_mode = O_RDWR | O_NDELAY;
273 DEBUG(7, "clear O_NDELAY\n%s", "");
275 (fcntl(dcf, F_GETFL, 0) & ~O_NDELAY)) < 0) {
276 DEBUG(7, "clear O_NDELAY failed, errno %d\n",
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBA.cc89 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) ==
157 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) {
266 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) {
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dstart_svm.c244 if ((fromfd = open(from, O_RDONLY | O_NDELAY)) < 0)

Completed in 966 milliseconds

12345