Lines Matching refs:oflags
2277 int oflags; /* open/fcntl flags */
2283 int oflags = -1;
2288 oflags = O_RDONLY;
2290 oflags = O_RDWR;
2296 oflags = O_CREAT | O_TRUNC;
2298 oflags |= O_RDWR;
2302 oflags |= O_WRONLY;
2306 oflags = O_CREAT | O_APPEND;
2308 oflags |= O_RDWR;
2312 oflags |= O_WRONLY;
2316 oflags |= O_BINARY;
2317 oflags &= ~O_TEXT;
2321 oflags |= O_TEXT;
2322 oflags &= ~O_BINARY;
2328 oflags |= O_BINARY;
2329 if (*mode || oflags == -1) {
2331 oflags = -1;
2333 return oflags;
2359 s->oflags = imode;
2371 * XXX could (or should) we retrieve the oflags from the open file
2465 PerlIOUnix_setfd(aTHX_ f, fd, os->oflags);