Home | History | Annotate | Download | only in utils

Lines Matching refs:oflag

33 mapfile_open(const char* path, int oflag, int share_mode)
42 if ((oflag & O_RDWR) == O_RDWR) {
44 } else if ((oflag & O_ACCMODE) == O_RDONLY) {
46 } else if ((oflag & O_WRONLY) == O_WRONLY) {
60 if ((oflag & O_CREAT) == O_CREAT) {
61 if ((oflag & O_EXCL) == O_EXCL) {
66 } if ((oflag & O_TRUNC) == O_TRUNC) {
75 if ((oflag & O_DSYNC) == O_DSYNC ||
76 (oflag & O_RSYNC) == O_RSYNC ||
77 (oflag & O_RSYNC) == O_SYNC) {
88 int file_handle = open(path, oflag, share_mode);