Lines Matching refs:oflags
214 int oflags = 0; /* Initially read only */
218 oflags |= O_RDWR;
220 oflags |= O_WRONLY;
224 oflags |= O_CREAT;
227 oflags |= O_EXCL;
230 oflags |= O_TRUNC;
232 return (oflags);
312 ** oflags - permissions and mode (see constants above)
327 void bta_fs_co_open(const char *p_path, int oflags, UINT32 size, UINT16 evt,
337 /* Convert BTA oflags into os specific flags */
338 oflags = bta_fs_convert_bta_oflags(oflags);
340 /* check available space in case of write access. oflags are in OS format! */
341 if (oflags & (O_RDWR|O_WRONLY))
348 if ((fd = open(p_path, oflags | O_NONBLOCK, 0666)) >= 0)
353 if (oflags & O_CREAT)
368 fd, err, oflags, app_id);