/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | _sfopen.c | 106 while((fd = sysopenf(file,oflags&O_ACCMODE)) < 0 && errno == EINTR) 124 if((oflags&O_ACCMODE) != O_WRONLY) 127 while((fd = sysopenf(file,oflags&O_ACCMODE)) < 0 && 221 oflags = (oflags&~O_ACCMODE)|O_RDWR;
|
/illumos-gate/usr/src/test/libproc-tests/tests/syscall/ |
H A D | pr_target.c | 57 } else if ((val & O_ACCMODE) != fflag) { in pr_target_check_fd() 59 "expected 0x%x", desc, val & O_ACCMODE, fflag); in pr_target_check_fd()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | stdio.c | 441 tmp = fdflags & O_ACCMODE; 442 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) 495 switch (flags & O_ACCMODE)
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/ |
H A D | db-int.h | 247 #ifndef O_ACCMODE /* POSIX 1003.1 access mode mask. */ 248 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) macro
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_open.c | 126 switch (flags & O_ACCMODE) { 139 switch (flags & O_ACCMODE) {
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | io.d.in | 145 * F_GET[X]FL command, such as: if ((fi_oflags & O_ACCMODE) == O_WRONLY). 147 inline int O_ACCMODE = @O_ACCMODE@; variable 148 #pragma D binding "1.1" O_ACCMODE
|
H A D | io.sed.in | 52 SED_REPLACE(O_ACCMODE)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | open.c | 90 if ((op & O_ACCMODE) == O_RDWR)
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 210 #define O_ACCMODE 3 /* Mask for file access modes */ macro
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_open.c | 193 switch (flags & O_ACCMODE) { 208 if ((flags & O_ACCMODE) != O_RDWR)
|
/illumos-gate/usr/src/cmd/ptools/pfiles/ |
H A D | pfiles.c | 386 #define ALL_O_FLAGS O_ACCMODE | O_NDELAY | O_NONBLOCK | O_APPEND | \ 396 switch (flags & O_ACCMODE) { in show_fileflags() 413 (void) sprintf(str, "0x%x", flags & O_ACCMODE); in show_fileflags()
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 702 switch (omode & O_ACCMODE) 799 switch (omode & O_ACCMODE) 963 if ((omode & O_ACCMODE) != O_RDONLY)
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 76 #define O_ACCMODE 0x0003 /* mask for above modes */ macro
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | fcntl_h.cfg | 31 value | O_ACCMODE | int | fcntl.h | POSIX+ SUS+
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fopen.c | 147 accmode = oflag & O_ACCMODE; in _freopen_null()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | fcntl.c | 307 #ifndef O_ACCMODE in main()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fcntl.h | 350 #define O_ACCMODE (O_SEARCH | O_EXEC | 0x3) macro
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | map.c | 990 mode &= O_ACCMODE; 1428 mode &= O_ACCMODE; 1488 if ((mode & O_ACCMODE) == O_RDWR) 1718 if ((omode & O_ACCMODE) == O_RDWR) 2037 mode &= O_ACCMODE; 2367 if ((omode & O_ACCMODE) == O_RDWR) 2655 mode &= O_ACCMODE; 2914 mode &= O_ACCMODE; 3385 mode &= O_ACCMODE; 5000 mode &= O_ACCMODE; [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash.c | 106 if ((flags & O_ACCMODE) == O_WRONLY) { 674 if ((hashp->flags & O_ACCMODE) == O_RDONLY) { 695 if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
|
/illumos-gate/usr/src/lib/lib9p/common/backend/ |
H A D | fs.c | 390 flags = l_mode & O_ACCMODE; in fs_oflags_dotl() 393 CLEAR(O_ACCMODE); in fs_oflags_dotl() 1299 if ((flags & O_ACCMODE) != O_RDONLY) in fs_iopen() 1315 switch (flags & O_ACCMODE) { in fs_iopen() 1336 if ((flags & O_ACCMODE) != O_RDONLY || (flags & O_TRUNC)) in fs_iopen()
|
/illumos-gate/usr/src/cmd/nohup/ |
H A D | nohup.c | 271 if ((flags & O_ACCMODE) == O_RDONLY || fd == STDIN_FILENO) { in fd_cb()
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | conf.h | 2862 #ifndef O_ACCMODE 2863 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) macro
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | io.c | 826 flags &= O_ACCMODE; in sh_open() 849 flags &= O_ACCMODE; in sh_open() 2085 if((flags&O_ACCMODE)!=O_WRONLY) in sh_iocheckfd() 2087 if((flags&O_ACCMODE)!=O_RDONLY) in sh_iocheckfd()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 656 file_is_open |= ((fflags & O_ACCMODE) << 1); in krb5_ktf_keytab_externalize() 760 fmode = (file_is_open >> 1) & O_ACCMODE; in krb5_ktf_keytab_internalize()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | codes.c | 2209 if ((arg & ~(O_ACCMODE | ALL_O_FLAGS)) != 0) in openarg() 2212 switch (arg & O_ACCMODE) { in openarg()
|