Symbol: O_ACCMODE
bin/dd/args.c
483
if ((cp->set & O_ACCMODE) && (flagtype == C_OFLAG)) {
bin/ksh/io.c
321
fl &= O_ACCMODE;
bin/ksh/sh.h
27
#ifndef O_ACCMODE
bin/ksh/shf.c
148
switch (flags & O_ACCMODE) {
bin/ksh/shf.c
71
sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD
bin/ksh/shf.c
72
: ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR
bin/ksh/shf.c
95
switch (flags & O_ACCMODE) {
bin/sh/redir.c
931
#ifndef O_ACCMODE
bin/sh/redir.c
976
#define IGNFLAGS (O_ACCMODE|O_RDONLY|O_WRONLY|O_RDWR|O_SHLOCK|O_EXLOCK| \
lib/libc/db/btree/bt_open.c
195
switch (flags & O_ACCMODE) {
lib/libc/db/btree/bt_open.c
208
if ((flags & O_ACCMODE) != O_RDWR)
lib/libc/db/hash/hash.c
107
if ((flags & O_ACCMODE) == O_WRONLY) {
lib/libc/db/hash/hash.c
544
if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
lib/libc/db/hash/hash.c
563
if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
lib/libc/db/hash/ndbm.c
76
if ((flags & O_ACCMODE) == O_WRONLY) {
lib/libc/db/recno/rec_open.c
128
switch (flags & O_ACCMODE) {
lib/libc/db/recno/rec_open.c
141
switch (flags & O_ACCMODE) {
lib/libc/stdio/fdopen.c
89
tmp = fdflags & O_ACCMODE;
lib/libc/stdio/fdopen.c
90
if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
lib/libc/stdio/vdprintf.c
85
tmp = fdflags & O_ACCMODE;
sys/dev/scsipi/st.c
761
if ((flags & O_ACCMODE) == FWRITE && (stxx == 0)) {
sys/kern/vfs_syscalls.c
1776
if ((open_flags & O_EXEC) && (open_flags & O_ACCMODE))
sys/sys/fcntl.h
140
#define O_MASK (O_ACCMODE|O_NONBLOCK|O_APPEND|O_SHLOCK|O_EXLOCK|\
tests/lib/libc/sys/t_eventfd.c
807
ATF_REQUIRE((fcntl(efd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);
tests/lib/libc/sys/t_timerfd.c
787
ATF_REQUIRE((fcntl(tfd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);