Home | History | Annotate | Download | only in co

Lines Matching refs:oflags

213     int oflags = 0; /* Initially read only */
217 oflags |= O_RDWR;
219 oflags |= O_WRONLY;
223 oflags |= O_CREAT;
226 oflags |= O_EXCL;
229 oflags |= O_TRUNC;
231 return (oflags);
311 ** oflags - permissions and mode (see constants above)
326 void bta_fs_co_open(const char *p_path, int oflags, UINT32 size, UINT16 evt,
336 /* Convert BTA oflags into os specific flags */
337 oflags = bta_fs_convert_bta_oflags(oflags);
339 /* check available space in case of write access. oflags are in OS format! */
340 if (oflags & (O_RDWR|O_WRONLY))
347 if ((fd = open(p_path, oflags | O_NONBLOCK, 0666)) >= 0)
352 if (oflags & O_CREAT)
367 fd, err, oflags, app_id);