Lines Matching defs:oflags
69 int oflags;
74 oflags = O_RDWR;
77 oflags = O_RDWR | O_CREAT | O_TRUNC;
80 oflags = O_RDONLY;
83 oflags = O_WRONLY | O_CREAT | O_TRUNC;
86 oflags = O_APPEND | O_WRONLY | O_CREAT;
89 oflags = O_APPEND | O_RDWR | O_CREAT;
97 oflags |= O_BINARY;
99 fp->f_file = open(path, oflags,
104 if (oflags & O_APPEND)
412 int oflags, tmp, fdflags, fd = *((int *) info);
417 oflags = O_RDWR | O_CREAT;
420 oflags = O_RDONLY;
423 oflags = O_WRONLY | O_CREAT | O_TRUNC;
426 oflags = O_APPEND | O_WRONLY | O_CREAT;
429 oflags = O_APPEND | O_RDWR | O_CREAT;
437 oflags |= O_BINARY;
444 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE)))
450 if (oflags & O_APPEND)