Searched refs:omode (Results 1 – 3 of 3) sorted by relevance
27 _cvmod(mode, omode, flag) in _cvmod() argument29 int *omode;35 case 'r': *omode |= O_RDONLY; *flag |= FI_READ; break;36 case 'w': *omode |= O_WRONLY; *flag |= FI_WRITE; break;37 case 'e': *omode |= O_EXCL; break;38 case 'c': *omode |= O_CREAT; *flag |= FI_CREATE; break;39 case 't': *omode |= O_TRUNC; *flag |= FI_TRUNC; break;40 case 'a': *omode |= O_APPEND; *flag |= FI_APPEND; break;48 case 'l': *omode |= O_LARGEFILE; break;55 *omode &= ~(O_RDONLY|O_WRONLY);[all …]
25 int omode = 0; local28 if (!_cvmod(mode, &omode, &flag))31 if ((ret = _openfd(name, omode)) < 0)
75 #define _openfd(name, omode) (open(name, omode, (mode_t)0666)) argument