usr/src/boot/sys/sys/fcntl.h
180
#define FNONBLOCK O_NONBLOCK /* kernel */
usr/src/boot/sys/sys/fcntl.h
181
#define FNDELAY O_NONBLOCK /* compat */
usr/src/boot/sys/sys/fcntl.h
182
#define O_NDELAY O_NONBLOCK /* compat */
usr/src/cmd/allocate/mkdevalloc.c
1151
if ((fd = open(path, O_RDONLY | O_NONBLOCK)) < 0)
usr/src/cmd/audio/audioplay/audioplay.c
201
Audio_fd = open(Audio_dev, O_WRONLY | O_NONBLOCK);
usr/src/cmd/audio/audioplay/audioplay.c
226
(fcntl(Audio_fd, F_GETFL, 0) & ~(O_NDELAY | O_NONBLOCK)));
usr/src/cmd/audio/audioplay/audioplay.c
346
Audio_fd = open(Audio_dev, O_WRONLY | O_NONBLOCK);
usr/src/cmd/audio/audiorecord/audiorecord.c
491
Audio_fd = open(Audio_dev, O_RDONLY | O_NONBLOCK);
usr/src/cmd/audio/utilities/AudioUnixfile.cc
248
flag &= ~(O_NDELAY | O_NONBLOCK); // set blocking
usr/src/cmd/audio/utilities/AudioUnixfile.cc
250
flag |= O_NONBLOCK; // set non-blocking
usr/src/cmd/audio/utilities/filehdr.c
436
fd = open(name, O_RDONLY | O_NONBLOCK);
usr/src/cmd/auditd/doorway.c
299
if ((fd = open(p->plg_path, O_NONBLOCK | O_RDONLY)) != -1) {
usr/src/cmd/backup/dump/lftw.c
167
attrfd = attropen64(path, ".", O_RDONLY|O_NONBLOCK);
usr/src/cmd/backup/restore/restore.c
954
if ((fromfd = openat64(tfd, from, O_RDONLY|O_NONBLOCK)) == -1) {
usr/src/cmd/backup/restore/restore.c
967
O_RDONLY|O_NONBLOCK|O_XATTR)) == -1) {
usr/src/cmd/backup/restore/restore.c
978
if ((tofd = openat64(tfd, to, O_RDONLY|O_NONBLOCK)) == -1 ||
usr/src/cmd/backup/restore/restore.c
979
(todir = openat64(tofd, ".", O_RDONLY|O_NONBLOCK|O_XATTR)) == -1) {
usr/src/cmd/bhyve/common/gdb.c
2001
if (fcntl(s, F_SETFL, flags | O_NONBLOCK) == -1)
usr/src/cmd/bhyve/common/net_backend_dlpi.c
159
if (fcntl(be->fd, F_SETFL, O_NONBLOCK) < 0) {
usr/src/cmd/bhyve/common/pci_virtio_console.c
384
if (fcntl(s, F_SETFL, O_NONBLOCK) < 0) {
usr/src/cmd/bhyve/common/pci_virtio_input.c
678
sc->vsc_fd = open(sc->vsc_evdev, O_RDWR | O_NONBLOCK);
usr/src/cmd/bhyve/common/pci_virtio_rnd.c
170
fd = open("/dev/random", O_RDONLY | O_NONBLOCK);
usr/src/cmd/bhyve/common/uart_backend.c
379
if (fcntl(sc->tty.rfd, F_SETFL, O_NONBLOCK) != 0)
usr/src/cmd/bhyve/common/uart_backend.c
381
if (fcntl(sc->tty.wfd, F_SETFL, O_NONBLOCK) != 0)
usr/src/cmd/bhyve/common/uart_backend.c
406
fd = open(path, O_RDWR | O_NONBLOCK);
usr/src/cmd/bhyve/common/uart_backend.c
453
if (fcntl(connfd, F_SETFL, O_NONBLOCK) < 0) {
usr/src/cmd/bhyve/test/tests/mevent/lists_delete.c
129
if (fcntl(unused_pipe[0], F_SETFL, O_NONBLOCK) != 0) {
usr/src/cmd/bhyve/test/tests/mevent/lists_delete.c
143
if (fcntl(flush_pipe[0], F_SETFL, O_NONBLOCK) != 0) {
usr/src/cmd/bhyve/test/tests/mevent/read_disable.c
116
if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) {
usr/src/cmd/bhyve/test/tests/mevent/read_pause.c
116
if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) {
usr/src/cmd/bhyve/test/tests/mevent/read_requeue.c
85
if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) {
usr/src/cmd/boot/bootadm/bootadm.c
6880
fd = open(s0path, O_NONBLOCK|O_RDONLY);
usr/src/cmd/boot/bootadm/bootadm_digest.c
55
if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) {
usr/src/cmd/cmd-crypto/decrypt/decrypt.c
680
if ((infd = open(inputfile, O_RDONLY | O_NONBLOCK)) == -1) {
usr/src/cmd/cmd-crypto/digest/digest.c
723
if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) ==
usr/src/cmd/cmd-inet/usr.bin/chat/chat.c
1215
if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
usr/src/cmd/cmd-inet/usr.bin/chat/chat.c
1244
if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
usr/src/cmd/cmd-inet/usr.bin/chat/chat.c
138
#ifndef O_NONBLOCK
usr/src/cmd/cmd-inet/usr.bin/chat/chat.c
541
if (fcntl(0, F_SETFL, flags | O_NONBLOCK) == -1)
usr/src/cmd/cmd-inet/usr.bin/chat/chat.c
555
if (fcntl(0, F_SETFL, flags & ~O_NONBLOCK) == -1)
usr/src/cmd/cmd-inet/usr.bin/finger.c
1396
fd = open(s, O_RDONLY | O_NONBLOCK);
usr/src/cmd/cmd-inet/usr.bin/pppd/main.c
2710
|| fcntl(pty_master, F_SETFL, flags | O_NONBLOCK) == -1)
usr/src/cmd/cmd-inet/usr.bin/pppd/main.c
2714
|| fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1)
usr/src/cmd/cmd-inet/usr.bin/pppd/main.c
2719
|| fcntl(ofd, F_SETFL, flags | O_NONBLOCK) == -1)
usr/src/cmd/cmd-inet/usr.bin/pppd/main.c
676
ttyfd = open(devnam, O_NONBLOCK | O_RDWR);
usr/src/cmd/cmd-inet/usr.bin/pppd/main.c
691
|| fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0)
usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/pppoe.c
103
tstfd = open(devnam, O_NONBLOCK | O_RDWR, 0);
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
282
(fd = open(devnam, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0) {
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
296
ipfd = open(IP_DEV_NAME, O_RDWR | O_NONBLOCK, 0);
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
3058
udp6fd = open(UDP6_DEV_NAME, O_RDWR | O_NONBLOCK, 0);
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
3087
tmpfd = open(drvnam, O_RDWR | O_NONBLOCK, 0);
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
359
ip6fd = open(IP6_DEV_NAME, O_RDWR | O_NONBLOCK, 0);
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
458
pppfd = open(devnam, O_RDWR | O_NONBLOCK);
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
479
pppfd = open(drvnam, O_RDWR | O_NONBLOCK);
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
537
udpfd = open(UDP_DEV_NAME, O_RDWR | O_NONBLOCK, 0);
usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c
566
tmpfd = open(drvnam, O_RDWR | O_NONBLOCK, 0);
usr/src/cmd/cmd-inet/usr.lib/bridged/door.c
191
O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW | O_NONBLOCK,
usr/src/cmd/cmd-inet/usr.lib/bridged/events.c
86
if ((control_fd = open(BRIDGE_CTLPATH, O_RDWR | O_NONBLOCK)) == -1) {
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilbd_hc.c
1295
if (fcntl(fds[0], F_SETFL, fdflags | O_NONBLOCK) == -1) {
usr/src/cmd/cmd-inet/usr.lib/ilbd/ilbd_main.c
612
if (fcntl(new_sd, F_SETFL, sflags | O_NONBLOCK) == -1) {
usr/src/cmd/cmd-inet/usr.lib/in.mpathd/mpd_main.c
1315
if ((fcntl(s, F_SETFL, flags | O_NONBLOCK)) < 0) {
usr/src/cmd/cmd-inet/usr.lib/in.mpathd/mpd_tables.c
1030
flags | O_NONBLOCK) == -1) {
usr/src/cmd/cmd-inet/usr.lib/in.mpathd/mpd_tables.c
907
flags | O_NONBLOCK) == -1) {
usr/src/cmd/cmd-inet/usr.lib/in.ndpd/main.c
1471
ret = fcntl(s, F_SETFL, O_NDELAY|O_NONBLOCK);
usr/src/cmd/cmd-inet/usr.lib/in.ndpd/main.c
1567
ret = fcntl(sock, F_SETFL, O_NONBLOCK);
usr/src/cmd/cmd-inet/usr.lib/inetd/util.c
307
(void) fcntl(fd, F_SETFL, (flags & ~O_NONBLOCK));
usr/src/cmd/cmd-inet/usr.lib/inetd/util.c
314
(void) fcntl(fd, F_SETFL, (flags | O_NONBLOCK));
usr/src/cmd/cmd-inet/usr.lib/vrrpd/vrrpd.c
1051
if ((fcntl(sock, F_SETFL, flags | O_NONBLOCK)) < 0) {
usr/src/cmd/cmd-inet/usr.lib/vrrpd/vrrpd.c
973
(void) fcntl(sock, F_SETFL, (flags | O_NONBLOCK));
usr/src/cmd/cmd-inet/usr.sbin/in.routed/main.c
353
if (fcntl(rt_sock, F_SETFL, O_NONBLOCK) == -1)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/main.c
683
if (fcntl(sock, F_SETFL, O_NONBLOCK) == -1)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/rdisc.c
201
if (fcntl(rdisc_mib_sock, F_SETFL, O_NONBLOCK) < 0) {
usr/src/cmd/cmd-inet/usr.sbin/in.talkd/announce.c
136
if ((fd = open(full_tty, O_WRONLY|O_NONBLOCK)) == -1) {
usr/src/cmd/cmd-inet/usr.sbin/in.tftpd.c
863
(readmode ? O_RDONLY : (O_WRONLY|O_TRUNC)) | O_NONBLOCK);
usr/src/cmd/consadm/consadm.c
941
if ((fd = open(devp, O_RDWR | O_NOCTTY | O_NONBLOCK | O_NDELAY)) < 0)
usr/src/cmd/csh/sh.tchar.c
503
fflags &= ~O_NONBLOCK;
usr/src/cmd/csh/sh.tchar.c
653
fflags &= ~O_NONBLOCK;
usr/src/cmd/ctwatch/ctwatch.c
98
if ((fd = open64(path, O_RDONLY | O_NONBLOCK)) == -1) {
usr/src/cmd/devfsadm/devalloc.c
87
if ((fd = open(p, O_RDONLY | O_NONBLOCK)) < 0)
usr/src/cmd/dtrace/test/tst/common/io/tst.fds.c
82
O_LARGEFILE | O_NOCTTY | O_NONBLOCK | O_NDELAY | O_RSYNC |
usr/src/cmd/eject/eject.c
554
if ((fd = open(name, O_RDONLY|O_NONBLOCK)) < 0) {
usr/src/cmd/fm/modules/common/ip-transport/ip.c
478
fcntl(ipx->ipx_fd, F_GETFL, 0) & ~O_NONBLOCK);
usr/src/cmd/fm/modules/common/ip-transport/ip.c
630
(void) fcntl(fd, F_SETFL, oflags | O_NONBLOCK);
usr/src/cmd/fs.d/mount.c
1347
(void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK);
usr/src/cmd/fs.d/mount.c
1348
(void) fcntl(mp->sepipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK);
usr/src/cmd/fs.d/nfs/lib/nfs_tbind.c
827
if (fcntl(fd, F_SETFL, O_NONBLOCK) == -1) {
usr/src/cmd/fs.d/umount.c
998
(void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK);
usr/src/cmd/fs.d/umount.c
999
(void) fcntl(mp->sepipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK);
usr/src/cmd/hal/addons/storage/addon-storage.c
370
} else if ((fd < 0) && ((fd = open (raw_device_file, O_RDONLY | O_NONBLOCK)) < 0)) {
usr/src/cmd/hal/probing/acpi/probe-acpi.c
57
if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
usr/src/cmd/hal/probing/printer/probe-printer.c
49
if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) {
usr/src/cmd/hal/probing/storage/probe-storage.c
388
if ((rfd = open (raw_device_file, O_RDONLY | O_NONBLOCK)) < 0) {
usr/src/cmd/hal/probing/storage/probe-storage.c
432
if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) {
usr/src/cmd/hal/probing/volume/probe-volume.c
497
fd = open (devpath, O_RDONLY | O_NONBLOCK);
usr/src/cmd/hal/probing/volume/probe-volume.c
501
rfd = open (rdevpath, O_RDONLY | O_NONBLOCK);
usr/src/cmd/hal/probing/xkb/probe-xkb.c
93
if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
usr/src/cmd/hal/tools/sunos/hal-system-lcd-get-brightness-sunos.c
47
if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
usr/src/cmd/hal/tools/sunos/hal-system-lcd-set-brightness-sunos.c
48
if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
usr/src/cmd/hal/utils/acpi.c
735
return (open(path, O_RDONLY | O_NONBLOCK));
usr/src/cmd/idmap/idmapd/idmap_config.c
1539
if (fcntl(rt_sock, F_SETFL, O_NDELAY|O_NONBLOCK) < 0) {
usr/src/cmd/lofiadm/main.c
1407
if ((compfd = open64(devicename, O_RDONLY | O_NONBLOCK)) == -1) {
usr/src/cmd/ndmpd/ndmp/ndmpd_mover.c
113
return (fcntl(sock, F_SETFL, flags|O_NONBLOCK) == 0);
usr/src/cmd/prtvtoc/prtvtoc.c
405
if ((fd = open(name, O_NONBLOCK|O_RDONLY)) < 0) {
usr/src/cmd/ptools/pfiles/pfiles.c
386
#define ALL_O_FLAGS O_ACCMODE | O_NDELAY | O_NONBLOCK | O_APPEND | \
usr/src/cmd/ptools/pfiles/pfiles.c
419
if (flags & O_NONBLOCK)
usr/src/cmd/rm/rm.c
259
while ((fd = openat(dirfd, entry, O_RDONLY|O_NONBLOCK)) == -1 &&
usr/src/cmd/sendmail/libsm/local.h
170
ret & ~O_NONBLOCK) == -1) \
usr/src/cmd/sendmail/libsm/local.h
186
ret | O_NONBLOCK) == -1) \
usr/src/cmd/sendmail/src/srvrsmtp.c
4053
if (bitset(O_NONBLOCK, inmode) ||
usr/src/cmd/sendmail/src/srvrsmtp.c
4054
bitset(O_NONBLOCK, outmode) ||
usr/src/cmd/sendmail/src/srvrsmtp.c
4055
fcntl(inchfd, F_SETFL, inmode | O_NONBLOCK) == -1)
usr/src/cmd/sendmail/src/srvrsmtp.c
4058
if (outmode != -1 && bitset(O_NONBLOCK, outmode))
usr/src/cmd/sh/word.c
444
fflags &= ~O_NONBLOCK;
usr/src/cmd/smbsrv/smbd/smbd_nicmon.c
171
if ((fcntl(sd, F_SETFL, flags | O_NONBLOCK)) < 0) {
usr/src/cmd/syslogd/syslogd.c
2393
O_WRONLY|O_APPEND|O_NOCTTY|O_NONBLOCK :
usr/src/cmd/syslogd/syslogd.c
3499
fmode = O_NONBLOCK;
usr/src/cmd/truss/codes.c
2200
(O_NDELAY|O_APPEND|O_SYNC|O_DSYNC|O_NONBLOCK|O_CREAT|O_TRUNC\
usr/src/cmd/truss/codes.c
2240
if (arg & O_NONBLOCK)
usr/src/cmd/truss/print.c
385
long flags = ~(O_CLOEXEC | O_CLOFORK | O_NONBLOCK);
usr/src/cmd/truss/print.c
400
if (val & O_NONBLOCK) {
usr/src/cmd/ttymon/tmhandler.c
533
fd = open(pmptr->p_device, O_RDWR | O_NONBLOCK);
usr/src/cmd/ttymon/tmhandler.c
550
fd = open(pmptr->p_device, O_RDWR | O_NONBLOCK);
usr/src/cmd/ttymon/tmhandler.c
568
fd = open(pmptr->p_device, O_RDWR | O_NONBLOCK);
usr/src/cmd/ttymon/tmsac.c
86
Pfd = open(PMPIPE, O_RDWR|O_NONBLOCK);
usr/src/cmd/ttymon/ttymon.c
346
if ((fd = open(pmptr->p_device, O_RDONLY|O_NONBLOCK|O_NOCTTY)) < 0) {
usr/src/cmd/ttymon/ttymon.c
394
} else if ((fd = open(pmptr->p_device, O_RDWR|O_NONBLOCK))
usr/src/cmd/ttymon/ttymon.c
467
if ((tmpfd = open(pmptr->p_device, O_RDWR|O_NONBLOCK)) == -1) {
usr/src/cmd/ttymon/ttymon.c
730
flag |= O_NONBLOCK;
usr/src/cmd/utmp_update/utmp_update.c
480
if ((fd = open(line, O_WRONLY|O_NOCTTY|O_NONBLOCK)) == -1) {
usr/src/cmd/wall/wall.c
386
if ((fd = open(s, O_WRONLY|O_NOCTTY|O_NONBLOCK)) == -1) {
usr/src/cmd/who/who.c
420
O_NONBLOCK|O_RDONLY)) == -1) {
usr/src/cmd/zlogin/zlogin.c
341
if ((masterfd = open("/dev/ptmx", O_RDWR|O_NONBLOCK)) < 0) {
usr/src/cmd/zoneadmd/zcons.c
919
managerfd = open(conspath, O_RDWR|O_NONBLOCK|O_NOCTTY);
usr/src/lib/auditd_plugins/remote/audit_remote.c
524
if (!set_fdfl(notify_pipe[0], O_NONBLOCK, FL_UNSET) ||
usr/src/lib/auditd_plugins/remote/audit_remote.c
525
!set_fdfl(notify_pipe[1], O_NONBLOCK, FL_SET)) {
usr/src/lib/auditd_plugins/remote/transport.c
517
if (fcntl(sockfd, F_SETFL, flags | O_NONBLOCK) == -1) {
usr/src/lib/fm/libseslog/common/libseslog.c
54
int oflags = O_NONBLOCK | O_RDWR;
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_file.c
1252
fd = THREEPARAMOPEN(filename, open_flag | O_NONBLOCK | O_NOFOLLOW, 0600);
usr/src/lib/krb5/kadm5/clnt/client_init.c
241
fd = t_open(nconf->nc_device, O_RDWR | O_NONBLOCK, &tinfo);
usr/src/lib/krb5/kadm5/clnt/client_init.c
288
(void) fcntl(fd, F_SETFL, flags & ~O_NONBLOCK);
usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/db.c
57
(O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
usr/src/lib/lib9p/common/backend/fs.c
428
CONVERT(L9P_L_O_NONBLOCK, O_NONBLOCK);
usr/src/lib/libbsm/common/devalloc.h
77
#define DA_RDWR O_RDWR|O_CREAT|O_NONBLOCK
usr/src/lib/libbsm/common/devalloc.h
78
#define DA_RDONLY O_RDONLY|O_NONBLOCK
usr/src/lib/libc/port/gen/attropen.c
58
if ((fd = open64(file, O_RDONLY|O_NONBLOCK)) == -1) {
usr/src/lib/libc/port/gen/attropen.c
89
if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) {
usr/src/lib/libc/port/gen/getutx.c
1347
pfd = open(UPIPE, O_RDWR | O_NONBLOCK | O_NDELAY);
usr/src/lib/libc/port/rt/mqueue.c
1099
if ((mqstat->mq_flags & O_NONBLOCK) != 0)
usr/src/lib/libc/port/rt/mqueue.c
403
oflag = oflag & (O_RDONLY|O_WRONLY|O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK);
usr/src/lib/libc/port/rt/mqueue.c
690
if (mqdp->mqd_mqdn->mqdn_flags & O_NONBLOCK)
usr/src/lib/libc/port/rt/mqueue.c
831
if ((mqdp->mqd_mqdn->mqdn_flags & O_NONBLOCK) != 0) {
usr/src/lib/libc/port/sys/eventfd.c
36
oflags |= O_NONBLOCK;
usr/src/lib/libc/port/sys/signalfd.c
36
oflags |= O_NONBLOCK;
usr/src/lib/libc/port/sys/timerfd.c
34
oflags |= O_NONBLOCK;
usr/src/lib/libcryptoutil/common/keyfile.c
59
if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) {
usr/src/lib/libdhcpagent/common/dhcpagent_ipc.c
512
if (fcntl(*fd, F_SETFL, sockflags | O_NONBLOCK) == -1) {
usr/src/lib/libdladm/common/libdlbridge.c
265
did = open(doorname, O_RDONLY | O_NOFOLLOW | O_NONBLOCK);
usr/src/lib/libipadm/common/ipadm_ndpd.c
274
(void) fcntl(fd, F_SETFL, flags | O_NONBLOCK);
usr/src/lib/libipmp/common/ipmp_mpathd.c
106
(void) fcntl(fd, F_SETFL, flags | O_NONBLOCK);
usr/src/lib/libkmf/libkmf/common/client.c
248
sock_flag |= O_NONBLOCK;
usr/src/lib/libldap5/sources/ldap/common/os-ip.c
276
fcntl(sockfd, F_SETFL, flags | O_NONBLOCK);
usr/src/lib/libnsl/nsl/_utility.c
368
if (cntlflag & (O_NDELAY | O_NONBLOCK))
usr/src/lib/libnsl/nsl/_utility.c
369
(void) fcntl(fd, F_SETFL, cntlflag & ~(O_NDELAY | O_NONBLOCK));
usr/src/lib/libnsl/nsl/_utility.c
376
if (cntlflag & (O_NDELAY | O_NONBLOCK))
usr/src/lib/libnsl/nsl/_utility.c
384
if (cntlflag & (O_NDELAY | O_NONBLOCK))
usr/src/lib/libnsl/nsl/_utility.c
395
if (cntlflag & (O_NDELAY | O_NONBLOCK))
usr/src/lib/libnsl/nsl/_utility.c
402
if (cntlflag & (O_NDELAY | O_NONBLOCK))
usr/src/lib/libnsl/nsl/t_connect.c
121
if (fctlflg & (O_NDELAY | O_NONBLOCK)) {
usr/src/lib/libnsl/rpc/clnt_vc.c
196
flag = blocking? flag&~O_NONBLOCK : flag|O_NONBLOCK;
usr/src/lib/libnsl/rpc/clnt_vc.c
296
ct->ct_is_blocking = flag & O_NONBLOCK ? FALSE : TRUE;
usr/src/lib/libnsl/rpc/svc_run.c
778
if (fcntl(svc_pipe[0], F_SETFL, O_NONBLOCK) == -1) {
usr/src/lib/libnsl/rpc/svc_run.c
783
if (fcntl(svc_pipe[1], F_SETFL, O_NONBLOCK) == -1) {
usr/src/lib/libnsl/rpc/svc_vc.c
1115
if (fcntl(fdconn, F_SETFL, nn|O_NONBLOCK) != 0) {
usr/src/lib/libnwam/common/libnwam_backend.c
354
O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW | O_NONBLOCK,
usr/src/lib/libresolv2/common/irs/irp.c
221
flags |= O_NONBLOCK;
usr/src/lib/libresolv2/include/port_after.h
70
#define PORT_NONBLOCK O_NONBLOCK
usr/src/lib/libtecla/common/getline.c
151
#if defined(O_NONBLOCK)
usr/src/lib/libtecla/common/getline.c
152
#define NON_BLOCKING_FLAG (O_NONBLOCK)
usr/src/lib/libvrrpadm/common/libvrrpadm.c
141
(void) fcntl(sock, F_SETFL, (flags | O_NONBLOCK));
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
1253
old_fd = open_nointr(orig_obj_name, O_RDONLY|O_NONBLOCK);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
1266
O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
1472
O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
2228
O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
2276
O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
2531
O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
360
O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
558
*fd = open_nointr(fname, mode|O_NONBLOCK);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
593
fd = open_nointr(fname, mode|O_NONBLOCK);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
599
fd = open_nointr(fname, mode|O_NONBLOCK);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
693
fd = open_nointr(obj_fname, oflag|O_NONBLOCK);
usr/src/lib/pkcs11/pkcs11_softtoken/common/softKeystoreUtil.c
735
O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
usr/src/lib/print/libhttp-core/common/http.c
106
# define FNONBLK O_NONBLOCK
usr/src/lib/sun_sas/common/Sun_sasSendSMPPassThru.c
57
if ((fd = open(devpath, O_RDONLY | O_NONBLOCK)) == -1) {
usr/src/lib/udapl/udapl_tavor/common/dapl_name_service.c
664
retval = fcntl(fd, F_SETFL, O_NONBLOCK);
usr/src/test/libc-tests/tests/posix_spawn/posix_spawn.c
162
if (pipe2(pipes, O_NONBLOCK) != 0) {
usr/src/test/os-tests/tests/ddi_ufm/ufm-test.c
308
if (try_open(O_RDONLY | O_NONBLOCK, EINVAL) != 0)
usr/src/test/os-tests/tests/fifo-tvnsec.c
228
pipes[1] = open(path, O_RDONLY | O_NONBLOCK);
usr/src/test/os-tests/tests/fifo-tvnsec.c
233
pipes[0] = open(path, O_WRONLY | O_NONBLOCK);
usr/src/test/os-tests/tests/ksensor/ksensor_err.c
92
O_RDONLY | O_NONBLOCK };
usr/src/test/os-tests/tests/oclo/oclo_errors.c
134
if (!oclo_dup3("dup3(): O_NONBLOCK|O_CLOXEC", O_NONBLOCK | O_CLOEXEC)) {
usr/src/test/os-tests/tests/signalfd/basic_args.c
56
if ((res & O_NONBLOCK) != 0) {
usr/src/test/os-tests/tests/signalfd/basic_args.c
76
if ((res & O_NONBLOCK) == 0) {
usr/src/uts/common/io/usb/clients/video/usbvc/usbvc_v4l2.c
1228
if ((mode & (O_NDELAY|O_NONBLOCK)) &&
usr/src/uts/common/xen/io/evtchn_dev.c
195
if (uio->uio_fmode & O_NONBLOCK) {
usr/src/uts/sun4v/io/vcc.c
1215
if ((flag & O_NONBLOCK) || (flag & O_NDELAY)) {