Home
last modified time | relevance | path

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

12

/mirbsd/src/sys/sys/
Dfcntl.h64 #define O_ACCMODE 0x0003 /* mask for above modes */ macro
113 #define FFLAGS(oflags) (((oflags) & ~O_ACCMODE) | (((oflags) + 1) & O_ACCMODE))
114 #define OFLAGS(fflags) (((fflags) & ~O_ACCMODE) | (((fflags) - 1) & O_ACCMODE))
/mirbsd/src/gnu/usr.bin/binutils/bfd/hosts/
Dalphavms.h64 #ifndef O_ACCMODE
65 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) macro
/mirbsd/src/lib/libc/stdio/
Dfdopen.c53 tmp = fdflags & O_ACCMODE; in fdopen()
54 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { in fdopen()
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dinflow.c446 #ifndef O_ACCMODE in child_terminal_info()
447 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) in child_terminal_info() macro
450 switch (flags & (O_ACCMODE)) in child_terminal_info()
462 flags &= ~(O_ACCMODE); in child_terminal_info()
/mirbsd/src/gnu/usr.bin/binutils/bfd/
Dsysdep.h100 #ifndef O_ACCMODE
101 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) macro
/mirbsd/src/gnu/usr.sbin/sendmail/libsm/
Dstdio.c441 tmp = fdflags & O_ACCMODE;
442 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE)))
495 switch (flags & O_ACCMODE)
/mirbsd/src/gnu/usr.bin/cvs/src/
Dmyndbm.c28 # ifndef O_ACCMODE
29 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) macro
43 fp = CVS_FOPEN (file, (flags & O_ACCMODE) != O_RDONLY in mydbm_open()
/mirbsd/src/lib/libc/db/recno/
Drec_open.c117 switch (flags & O_ACCMODE) { in __rec_open()
130 switch (flags & O_ACCMODE) { in __rec_open()
/mirbsd/src/lib/libc/db/hash/
Dndbm.c194 if ((flags & O_ACCMODE) == O_WRONLY) { in _dbm_open()
364 return ((hashp->flags & O_ACCMODE) == O_RDONLY); in dbm_rdonly()
Dhash.c104 if ((flags & O_ACCMODE) == O_WRONLY) { in __hash_open()
126 statbuf.st_size == 0 && (flags & O_ACCMODE) != O_RDONLY; in __hash_open()
538 if ((hashp->flags & O_ACCMODE) == O_RDONLY) { in hash_put()
557 if ((hashp->flags & O_ACCMODE) == O_RDONLY) { in hash_delete()
/mirbsd/src/lib/libpthread/uthread/
Duthread_readv.c58 type = _thread_fd_table[fd]->flags & O_ACCMODE; in readv()
Duthread_read.c62 type = _thread_fd_table[fd]->flags & O_ACCMODE; in read()
Duthread_write.c65 type = _thread_fd_table[fd]->flags & O_ACCMODE; in write()
Duthread_writev.c82 type = _thread_fd_table[fd]->flags & O_ACCMODE; in writev()
/mirbsd/src/lib/libc/db/btree/
Dbt_open.c185 switch (flags & O_ACCMODE) { in __bt_open()
200 if ((flags & O_ACCMODE) != O_RDWR) in __bt_open()
/mirbsd/src/gnu/usr.bin/perl/ext/Fcntl/
DMakefile.PL23 LOCK_RW O_ACCMODE O_ALIAS O_APPEND O_ASYNC O_BINARY
/mirbsd/src/gnu/usr.sbin/sendmail/libsmutil/
Dsafefile.c702 switch (omode & O_ACCMODE)
799 switch (omode & O_ACCMODE)
963 if ((omode & O_ACCMODE) != O_RDONLY)
/mirbsd/src/gnu/usr.sbin/sendmail/sendmail/
Dmap.c987 mode &= O_ACCMODE;
1425 mode &= O_ACCMODE;
1485 if ((mode & O_ACCMODE) == O_RDWR)
1715 if ((omode & O_ACCMODE) == O_RDWR)
2040 mode &= O_ACCMODE;
2370 if ((omode & O_ACCMODE) == O_RDWR)
2658 mode &= O_ACCMODE;
2920 mode &= O_ACCMODE;
3391 mode &= O_ACCMODE;
5006 mode &= O_ACCMODE;
[all …]
/mirbsd/src/bin/mksh/
Dshf.c86 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD : in shf_open()
87 ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR : SHF_RDWR); in shf_open()
106 switch (flags & O_ACCMODE) { in shf_open_hlp()
Dsh.h408 #ifndef O_ACCMODE
410 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) macro
/mirbsd/src/gnu/usr.bin/perl/ext/POSIX/
DMakefile.PL42 NAME_MAX NCCS NGROUPS_MAX NOFLSH OPEN_MAX OPOST O_ACCMODE O_APPEND
/mirbsd/src/bin/systrace/
Dsystrace-translate.c80 switch (flags & O_ACCMODE) { in print_oflags()
/mirbsd/src/gnu/usr.sbin/sendmail/include/sm/
Dconf.h2874 #ifndef O_ACCMODE
2875 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) macro
/mirbsd/src/gnu/usr.bin/perl/lib/Tie/
DFile.pm7 sub O_ACCMODE () { O_RDONLY | O_RDWR | O_WRONLY } subroutine
83 $opts{rdonly} = (($opts{mode} & O_ACCMODE) == O_RDONLY);
/mirbsd/src/sbin/isakmpd/
Dmonitor.c800 (flags & O_ACCMODE) == O_RDONLY) in m_priv_local_sanitize_path()

12