Searched refs:O_NONBLOCK (Results 1 - 25 of 64) sorted by relevance

123

/osnet-11/usr/src/lib/fm/libldom/sparc/
H A Dldom_utils.c43 (void) fcntl(notify_pipe[1], F_SETFL, O_NONBLOCK);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dattropen.c60 if ((fd = open64(file, O_RDONLY|O_NONBLOCK)) == -1) {
91 if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) {
/osnet-11/usr/src/lib/libast/common/features/
H A Dfcntl.c245 #ifndef O_NONBLOCK
250 if (O_NONBLOCK > o_local) o_local = O_NONBLOCK;
293 #ifndef O_NONBLOCK
295 printf("#define O_NONBLOCK 0%o\n", o_local <<= 1);
310 #ifndef O_NONBLOCK
312 printf("#define O_NONBLOCK O_NDELAY\n");
/osnet-11/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-lcd-get-brightness-sunos.c49 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
H A Dhal-system-lcd-set-brightness-sunos.c50 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
/osnet-11/usr/src/lib/libdtrace/common/
H A Dio.sed.in64 SED_REPLACE(O_NONBLOCK)
H A Dio.d.in167 inline int O_NONBLOCK = @O_NONBLOCK@;
168 #pragma D binding "1.1" O_NONBLOCK
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/
H A DIO.xs76 #ifdef O_NONBLOCK
78 #if defined(O_NDELAY) && O_NDELAY != O_NONBLOCK
83 * after a successful F_SETFL of an O_NONBLOCK. */
84 RETVAL = RETVAL & (O_NONBLOCK | O_NDELAY) ? 0 : 1;
87 if ((mode & O_NDELAY) || ((block == 0) && !(mode & O_NONBLOCK))) {
89 mode = (mode & ~O_NDELAY) | O_NONBLOCK;
95 if ((mode & O_NDELAY) || ((block > 0) && (mode & O_NONBLOCK))) {
97 mode &= ~(O_NONBLOCK | O_NDELAY);
105 RETVAL = RETVAL & O_NONBLOCK ? 0 : 1;
107 if ((block == 0) && !(mode & O_NONBLOCK)) {
[all...]
/osnet-11/usr/src/lib/libdevalloc/common/
H A Ddevalloc_impl.h76 #define DA_RDWR O_RDWR|O_CREAT|O_NONBLOCK
77 #define DA_RDONLY O_RDONLY|O_NONBLOCK
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/
H A Ddb.c59 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
/osnet-11/usr/src/cmd/hal/probing/acpi/
H A Dprobe-acpi.c57 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Fcntl/
H A DMakefile.PL47 O_NOCTTY O_NOFOLLOW O_NOINHERIT O_NOLINK O_NONBLOCK
H A DFcntl.pm37 (O_APPEND, O_ASYNC, O_CREAT, O_DEFER, O_EXCL, O_NDELAY, O_NONBLOCK,
122 O_NONBLOCK
/osnet-11/usr/src/lib/libnsl/nsl/
H A Dt_connect.c123 if (fctlflg & (O_NDELAY | O_NONBLOCK)) {
H A D_utility.c365 if (cntlflag & (O_NDELAY | O_NONBLOCK))
366 (void) fcntl(fd, F_SETFL, cntlflag & ~(O_NDELAY | O_NONBLOCK));
373 if (cntlflag & (O_NDELAY | O_NONBLOCK))
381 if (cntlflag & (O_NDELAY | O_NONBLOCK))
392 if (cntlflag & (O_NDELAY | O_NONBLOCK))
399 if (cntlflag & (O_NDELAY | O_NONBLOCK))
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c58 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) {
/osnet-11/usr/src/grub/grub2/grub-core/net/drivers/emu/
H A Demunet.c120 fd = open ("/dev/net/tun", O_RDWR | O_NONBLOCK);
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dlocal.h142 ** The file mode may be changed to O_NONBLOCK or ~O_NONBLOCK
172 ret & ~O_NONBLOCK) == -1) \
188 ret | O_NONBLOCK) == -1) \
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c367 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
566 *fd = open_nointr(fname, mode|O_NONBLOCK);
601 fd = open_nointr(fname, mode|O_NONBLOCK);
607 fd = open_nointr(fname, mode|O_NONBLOCK);
701 fd = open_nointr(obj_fname, oflag|O_NONBLOCK);
743 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
1259 old_fd = open_nointr(orig_obj_name, O_RDONLY|O_NONBLOCK);
1272 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
1479 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR);
2240 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUS
[all...]
/osnet-11/usr/src/lib/libipmp/common/
H A Dipmp_mpathd.c103 (void) fcntl(fd, F_SETFL, flags | O_NONBLOCK);
/osnet-11/usr/src/cmd/hal/probing/printer/
H A Dprobe-printer.c51 if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) {
/osnet-11/usr/src/lib/sun_sas/common/
H A DSun_sasSendSMPPassThru.c52 if ((fd = open(devpath, O_RDONLY | O_NONBLOCK)) == -1) {
/osnet-11/usr/src/lib/libpkg/common/
H A Dkeystore.c1167 if ((newfd = open(newpath, O_RDWR|O_NONBLOCK, 0)) != -1) {
1340 if (((fd1 = open(storepath, O_NONBLOCK|O_RDONLY)) == -1) ||
1351 O_NONBLOCK|O_RDONLY)) != -1) &&
1379 O_NONBLOCK|O_RDONLY)) != -1) &&
1471 open(keystore->capath, O_NONBLOCK|O_RDONLY)) == -1) {
1482 O_NONBLOCK|O_RDWR|O_CREAT|O_EXCL,
1527 O_RDWR|O_NONBLOCK)) == -1) {
1532 O_NONBLOCK|O_RDWR|O_CREAT|O_EXCL,
2120 fd = open(dest, O_RDWR|O_NONBLOCK);
2187 if ((fd = open(newpath, O_CREAT|O_EXCL|O_WRONLY|O_NONBLOCK,
[all...]
/osnet-11/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c367 if ((rfd = open (raw_device_file, O_RDONLY | O_NONBLOCK)) < 0) {
404 if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/
H A DMakefile.PL60 O_CREAT O_EXCL O_NOCTTY O_NONBLOCK O_RDONLY O_RDWR O_TRUNC O_WRONLY

Completed in 104 milliseconds

123