Symbol: O_ACCMODE
bin/ksh/io.c
327
fl &= O_ACCMODE;
bin/ksh/shf.c
145
switch (flags & O_ACCMODE) {
bin/ksh/shf.c
68
sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD :
bin/ksh/shf.c
69
((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR : SHF_RDWR);
bin/ksh/shf.c
88
switch (flags & O_ACCMODE) {
lib/libc/db/btree/bt_open.c
182
switch (flags & O_ACCMODE) {
lib/libc/db/btree/bt_open.c
197
switch (flags & O_ACCMODE) {
lib/libc/db/btree/bt_open.c
209
if ((flags & O_ACCMODE) != O_RDWR)
lib/libc/db/db/db.c
51
O_ACCMODE | O_SHLOCK | O_SYNC | O_TRUNC)
lib/libc/db/db/db.c
53
if (((flags & O_ACCMODE) == O_RDONLY || (flags & O_ACCMODE) == O_RDWR)
lib/libc/db/hash/hash.c
100
if ((flags & O_ACCMODE) == O_WRONLY) {
lib/libc/db/hash/hash.c
121
statbuf.st_size == 0 && (flags & O_ACCMODE) != O_RDONLY;
lib/libc/db/hash/hash.c
125
statbuf.st_size == 0 && (flags & O_ACCMODE) != O_RDONLY;
lib/libc/db/hash/hash.c
532
if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
lib/libc/db/hash/hash.c
551
if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
lib/libc/db/hash/ndbm.c
248
return ((hashp->flags & O_ACCMODE) == O_RDONLY);
lib/libc/db/hash/ndbm.c
71
if ((flags & O_ACCMODE) == O_WRONLY) {
lib/libc/db/recno/rec_open.c
120
switch (flags & O_ACCMODE) {
lib/libc/db/recno/rec_open.c
133
switch (flags & O_ACCMODE) {
lib/libc/gen/opendir.c
72
if ((flags & O_ACCMODE) != O_RDONLY && (flags & O_ACCMODE) != O_RDWR) {
lib/libc/gen/shm_open.c
54
if (((flags & O_ACCMODE) != O_RDONLY && (flags & O_ACCMODE) != O_RDWR)
lib/libc/gen/shm_open.c
55
|| (flags & ~(O_ACCMODE | OK_FLAGS))) {
lib/libc/stdio/fdopen.c
54
tmp = fdflags & O_ACCMODE;
lib/libc/stdio/fdopen.c
55
if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
lib/libc/stdlib/posix_pty.c
38
if ((oflag & O_ACCMODE) != O_RDWR ||
lib/libc/stdlib/posix_pty.c
39
(oflag & ~(O_ACCMODE | O_NOCTTY)) != 0) {
sbin/isakmpd/monitor.c
732
(flags & O_ACCMODE) == O_RDONLY)
sys/dev/pci/maestro.c
996
if ((OFLAGS(flags) & O_ACCMODE) != O_WRONLY)
sys/scsi/st.c
432
if ((flags & O_ACCMODE) == FWRITE)
sys/sys/fcntl.h
120
#define FFLAGS(oflags) (((oflags) & ~O_ACCMODE) | (((oflags) + 1) & O_ACCMODE))
sys/sys/fcntl.h
121
#define OFLAGS(fflags) (((fflags) & ~O_ACCMODE) | (((fflags) - 1) & O_ACCMODE))
usr.bin/ssh/sftp-server.c
750
((flags & O_ACCMODE) != O_RDONLY ||
usr.sbin/npppd/npppd/privsep.c
1007
if ((arg->flags & O_ACCMODE) != O_RDONLY)
usr.sbin/npppd/npppd/privsep.c
998
if (arg->flags & ~(O_ACCMODE | O_NONBLOCK))
usr.sbin/rmt/rmt.c
143
acc = f & O_ACCMODE;
usr.sbin/rmt/rmt.c
193
f = (f & ~O_ACCMODE) | acc;