HomeSort by: relevance | last modified time | path
    Searched refs:O_ACCMODE (Results 1 - 17 of 17) sorted by relevancy

  /src/lib/libc/stdio/
fdopen.c 89 tmp = fdflags & O_ACCMODE;
90 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
vdprintf.c 85 tmp = fdflags & O_ACCMODE;
  /src/lib/libc/db/hash/
ndbm.c 76 if ((flags & O_ACCMODE) == O_WRONLY) {
hash.c 106 if ((flags & O_ACCMODE) == O_WRONLY) {
544 if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
563 if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
  /src/lib/libc/db/recno/
rec_open.c 128 switch (flags & O_ACCMODE) {
141 switch (flags & O_ACCMODE) {
  /src/sys/sys/
fcntl.h 67 #define O_ACCMODE 0x00000003 /* mask for above modes */
137 #define O_MASK (O_ACCMODE|O_NONBLOCK|O_APPEND|O_SHLOCK|O_EXLOCK|\
  /src/bin/ksh/
sh.h 27 #ifndef O_ACCMODE
28 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
29 #endif /* !O_ACCMODE */
shf.c 71 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD
72 : ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR
95 switch (flags & O_ACCMODE) {
148 switch (flags & O_ACCMODE) {
io.c 321 fl &= O_ACCMODE;
  /src/lib/libc/db/btree/
bt_open.c 194 switch (flags & O_ACCMODE) {
207 if ((flags & O_ACCMODE) != O_RDWR)
  /src/sys/arch/ia64/stand/common/
bootstrap.h 417 #define O_ACCMODE 0x00000003 /* mask for above modes */
  /src/bin/dd/
args.c 487 if ((cp->set & O_ACCMODE) && (flagtype == C_OFLAG)) {
  /src/bin/sh/
redir.c 931 #ifndef O_ACCMODE
932 # define O_ACCMODE 0
976 #define IGNFLAGS (O_ACCMODE|O_RDONLY|O_WRONLY|O_RDWR|O_SHLOCK|O_EXLOCK| \
  /src/tests/lib/libc/sys/
t_eventfd.c 807 ATF_REQUIRE((fcntl(efd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);
t_timerfd.c 787 ATF_REQUIRE((fcntl(tfd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);
  /src/sys/dev/scsipi/
st.c 761 if ((flags & O_ACCMODE) == FWRITE && (stxx == 0)) {
  /src/sys/kern/
vfs_syscalls.c 1775 if ((open_flags & O_EXEC) && (open_flags & O_ACCMODE))

Completed in 22 milliseconds