Lines Matching refs:oflags
67 int oflags; local
72 oflags = O_RDWR;
75 oflags = O_RDWR | O_CREAT | O_TRUNC;
78 oflags = O_RDONLY;
81 oflags = O_WRONLY | O_CREAT | O_TRUNC;
84 oflags = O_APPEND | O_WRONLY | O_CREAT;
87 oflags = O_APPEND | O_RDWR | O_CREAT;
95 oflags |= O_BINARY;
97 fp->f_file = open(path, oflags,
102 if (oflags & O_APPEND)
410 int oflags, tmp, fdflags, fd = *((int *) info); local
415 oflags = O_RDWR | O_CREAT;
418 oflags = O_RDONLY;
421 oflags = O_WRONLY | O_CREAT | O_TRUNC;
424 oflags = O_APPEND | O_WRONLY | O_CREAT;
427 oflags = O_APPEND | O_RDWR | O_CREAT;
435 oflags |= O_BINARY;
442 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE)))
448 if (oflags & O_APPEND)