Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libnsctl/common/
H A Dcache.c70 if ((mode & O_ACCMODE) == O_WRONLY) {
71 mode &= ~O_ACCMODE;
121 if ((mode & O_ACCMODE) != O_RDONLY) {
122 if ((i & O_ACCMODE) == O_RDONLY) {
128 if ((mode & O_ACCMODE) != O_WRONLY) {
129 if ((i & O_ACCMODE) == O_WRONLY) {
135 mode = (i & O_ACCMODE) | (mode & ~O_ACCMODE);
184 if ((fd->sf_fmode & O_ACCMODE) == O_RDONLY)
258 if (ckdchk && (fd->sf_fmode & O_ACCMODE) != O_RDONLY) {
/titanic_41/usr/src/lib/libast/common/sfio/
H A D_sfopen.c100 while((fd = sysopenf(file,oflags&O_ACCMODE)) < 0 && errno == EINTR)
118 if((oflags&O_ACCMODE) != O_WRONLY)
121 while((fd = sysopenf(file,oflags&O_ACCMODE)) < 0 &&
210 oflags = (oflags&~O_ACCMODE)|O_RDWR;
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dstdio.c443 tmp = fdflags & O_ACCMODE;
444 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE)))
497 switch (flags & O_ACCMODE)
/titanic_41/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
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_open.c128 switch (flags & O_ACCMODE) {
141 switch (flags & O_ACCMODE) {
/titanic_41/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.in54 SED_REPLACE(O_ACCMODE)
/titanic_41/usr/src/lib/libast/common/comp/
H A Dopen.c90 if ((op & O_ACCMODE) == O_RDWR)
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dfcntlcom.h61 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) macro
/titanic_41/usr/src/ucbhead/sys/
H A Dfcntl.h209 #define O_ACCMODE 3 /* Mask for file access modes */ macro
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c195 switch (flags & O_ACCMODE) {
210 if ((flags & O_ACCMODE) != O_RDWR)
/titanic_41/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)
/titanic_41/usr/src/test/libc-tests/cfg/symbols/
H A Dfcntl_h.cfg31 value | O_ACCMODE | int | fcntl.h | POSIX+ SUS+
/titanic_41/usr/src/lib/libc/port/stdio/
H A Dfopen.c134 accmode = oflag & O_ACCMODE; in _freopen_null()
/titanic_41/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c403 #define ALL_O_FLAGS O_ACCMODE | O_NDELAY | O_NONBLOCK | O_APPEND | \
413 switch (flags & O_ACCMODE) { in show_fileflags()
430 (void) sprintf(str, "0x%x", flags & O_ACCMODE); in show_fileflags()
/titanic_41/usr/src/uts/common/sys/
H A Dfcntl.h308 #define O_ACCMODE (O_SEARCH | O_EXEC | 0x3) macro
/titanic_41/usr/src/lib/libast/common/features/
H A Dfcntl.c302 #ifndef O_ACCMODE in main()
/titanic_41/usr/src/cmd/sendmail/src/
H A Dmap.c990 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 …]
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.c110 if ((flags & O_ACCMODE) == O_WRONLY) {
681 if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
702 if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
/titanic_41/usr/src/cmd/nohup/
H A Dnohup.c273 if ((flags & O_ACCMODE) == O_RDONLY || fd == STDIN_FILENO) { in fd_cb()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dio.c739 flags &= O_ACCMODE; in sh_open()
762 flags &= O_ACCMODE; in sh_open()
1804 if((flags&O_ACCMODE)!=O_WRONLY) in sh_iocheckfd()
1806 if((flags&O_ACCMODE)!=O_RDONLY) in sh_iocheckfd()
/titanic_41/usr/src/cmd/sendmail/include/sm/
H A Dconf.h2862 #ifndef O_ACCMODE
2863 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) macro
/titanic_41/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()
/titanic_41/usr/src/cmd/truss/
H A Dcodes.c1931 if ((arg & ~(O_ACCMODE | ALL_O_FLAGS)) != 0) in openarg()
1934 switch (arg & O_ACCMODE) { in openarg()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c483 if (fdflags != -1 && (fdflags & O_ACCMODE) == O_RDWR)

12