Searched refs:O_ACCMODE (Results 1 - 25 of 39) sorted by relevance

12

/macosx-10.9.5/BerkeleyDB-21/db/common/
H A Dopenflags.c39 #ifndef O_ACCMODE
40 #define O_ACCMODE (O_RDONLY | O_RDWR | O_WRONLY) macro
42 switch (oflags & O_ACCMODE) {
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/hosts/
H A Dalphavms.h64 #ifndef O_ACCMODE
65 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) macro
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/unix/
H A DtclXunixPort.h51 * Define O_ACCMODE if <fcntl.h> does not define it.
53 #ifndef O_ACCMODE
54 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) macro
H A DtclXunixDup.c184 switch (fcntlMode & O_ACCMODE) {
/macosx-10.9.5/Libc-997.90.3/stdio/FreeBSD/
H A Dfdopen.c84 tmp = fdflags & O_ACCMODE;
85 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
H A Dfreopen.c97 if ((dflags & O_ACCMODE) != O_RDWR && (dflags & O_ACCMODE) !=
98 (oflags & O_ACCMODE)) {
/macosx-10.9.5/ruby-104/ruby/ext/fcntl/
H A Dfcntl.c232 #ifdef O_ACCMODE
233 /* Document-const: O_ACCMODE
237 rb_define_const(mFcntl, "O_ACCMODE", INT2FIX(O_ACCMODE));
239 /* Document-const: O_ACCMODE
243 rb_define_const(mFcntl, "O_ACCMODE", INT2FIX(O_RDONLY | O_WRONLY | O_RDWR));
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/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;
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/
H A Dsysdep.h100 #ifndef O_ACCMODE
101 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) macro
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/comp/
H A Dopen.c90 if ((op & O_ACCMODE) == O_RDWR)
/macosx-10.9.5/cctools-845/ar/
H A Darchive.c116 if((mode & O_ACCMODE) == O_RDONLY)
182 ((mode & O_ACCMODE) == O_RDONLY || (mode & O_ACCMODE) == O_RDWR)) {
204 if ((mode & O_ACCMODE) == O_RDWR)
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_atari.c39 #ifndef O_ACCMODE
40 #define O_ACCMODE 3 macro
173 fd = Fopen(name, m & O_ACCMODE);
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Droken-common.h121 #ifndef O_ACCMODE
122 #define O_ACCMODE 003 macro
/macosx-10.9.5/Libc-997.90.3/db/recno/FreeBSD/
H A Drec_open.c122 switch (flags & O_ACCMODE) {
135 switch (flags & O_ACCMODE) {
/macosx-10.9.5/Heimdal-323.92.1/lib/hdb/
H A Ddb3.c281 if((flags & O_ACCMODE) == O_RDONLY)
331 if((flags & O_ACCMODE) == O_RDONLY)
340 (flags & O_ACCMODE) == O_RDONLY ?
H A Ddb.c300 if((flags & O_ACCMODE) == O_RDONLY)
311 (flags & O_ACCMODE) == O_RDONLY ?
H A Dndbm.c334 if((flags & O_ACCMODE) == O_RDONLY)
343 (flags & O_ACCMODE) == O_RDONLY ?
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/features/
H A Dfcntl.c302 #ifndef O_ACCMODE
303 printf("#define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)\n");
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/dtrace/scripts/
H A Dio.d139 * F_GET[X]FL command, such as: if ((fi_oflags & O_ACCMODE) == O_WRONLY).
141 inline int O_ACCMODE = 0x0003;
142 #pragma D binding "1.1" O_ACCMODE
/macosx-10.9.5/Libc-997.90.3/db/btree/FreeBSD/
H A Dbt_open.c188 switch (flags & O_ACCMODE) {
203 if ((flags & O_ACCMODE) != O_RDWR)
/macosx-10.9.5/gnutar-452/gnutar/lib/
H A Dsystem.h98 #ifndef O_ACCMODE
99 # define O_ACCMODE (O_RDONLY | O_RDWR | O_WRONLY) macro
/macosx-10.9.5/Libc-997.90.3/db/hash/FreeBSD/
H A Dhash.c106 if ((flags & O_ACCMODE) == O_WRONLY) {
128 ((flags & O_ACCMODE) != O_RDONLY || (flags & O_CREAT) != 0);
538 if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
557 if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
/macosx-10.9.5/text_cmds-87/cat/
H A Dcat.c298 switch(flags & O_ACCMODE) {
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dfcntl.h101 #define O_ACCMODE 0x0003 /* mask for above modes */ macro
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/
H A Dunix++.h160 int openMode() const { return flags() & O_ACCMODE; }

Completed in 205 milliseconds

12