Home
last modified time | relevance | path

Searched refs:O_ACCMODE (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A D_sfopen.c106 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/cmd/sendmail/libsm/
H A Dstdio.c441 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 Ddb-int.h247 #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 Drec_open.c126 switch (flags & O_ACCMODE) {
139 switch (flags & O_ACCMODE) {
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.d.in145 * 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 Dio.sed.in52 SED_REPLACE(O_ACCMODE)
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dopen.c90 if ((op & O_ACCMODE) == O_RDWR)
/illumos-gate/usr/src/ucbhead/sys/
H A Dfcntl.h210 #define O_ACCMODE 3 /* Mask for file access modes */ macro
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c365 #define ALL_O_FLAGS O_ACCMODE | O_NDELAY | O_NONBLOCK | O_APPEND | \
375 switch (flags & O_ACCMODE) { in show_fileflags()
392 (void) sprintf(str, "0x%x", flags & O_ACCMODE); in show_fileflags()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c193 switch (flags & O_ACCMODE) {
208 if ((flags & O_ACCMODE) != O_RDWR)
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c702 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 Dfcntl.h76 #define O_ACCMODE 0x0003 /* mask for above modes */ macro
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dfcntl_h.cfg31 value | O_ACCMODE | int | fcntl.h | POSIX+ SUS+
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfopen.c147 accmode = oflag & O_ACCMODE; in _freopen_null()
/illumos-gate/usr/src/uts/common/sys/
H A Dfcntl.h344 #define O_ACCMODE (O_SEARCH | O_EXEC | 0x3) macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfcntl.c307 #ifndef O_ACCMODE in main()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmap.c990 mode &= O_ACCMODE;
1428 mode &= O_ACCMODE;
2037 mode &= O_ACCMODE;
2655 mode &= O_ACCMODE;
2914 mode &= O_ACCMODE;
3385 mode &= O_ACCMODE;
5000 mode &= O_ACCMODE;
5583 mode &= O_ACCMODE;
5713 mode &= O_ACCMODE;
6012 mode &= O_ACCMODE;
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.c106 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 Dfs.c390 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 Dnohup.c271 if ((flags & O_ACCMODE) == O_RDONLY || fd == STDIN_FILENO) { in fd_cb()
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dconf.h2862 #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 Dio.c826 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 Dkt_file.c656 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 Dcodes.c1970 if ((arg & ~(O_ACCMODE | ALL_O_FLAGS)) != 0) in openarg()
1973 switch (arg & O_ACCMODE) { in openarg()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c480 if (fdflags != -1 && (fdflags & O_ACCMODE) == O_RDWR)

12