Lines Matching refs:oflags
1048 ea_fdopen(ea_file_t *ef, int fd, const char *creator, int aflags, int oflags)
1053 f->ef_oflags = oflags;
1066 if (oflags & O_CREAT) {
1088 } else if (oflags & O_RDWR || oflags & O_WRONLY) {
1109 } else if (oflags != O_RDONLY) {
1158 int aflags, int oflags, mode_t mode)
1166 if (oflags & O_CREAT)
1167 oflags |= O_TRUNC;
1169 if ((fd = open(name, oflags, mode)) == -1) {
1174 if (ea_fdopen(ef, fd, creator, aflags, oflags) == -1) {