Home
last modified time | relevance | path

Searched refs:oflags (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/upstream-freebsd/lib/libc/stdio/
Dfdopen.c53 int flags, oflags, fdflags, tmp; in fdopen() local
67 if ((flags = __sflags(mode, &oflags)) == 0) in fdopen()
74 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { in fdopen()
82 if ((oflags & O_CLOEXEC) && _fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) { in fdopen()
93 if ((oflags & O_APPEND) && !(fdflags & O_APPEND)) in fdopen()
Dfopen.c56 int flags, oflags; in fopen() local
58 if ((flags = __sflags(mode, &oflags)) == 0) in fopen()
62 if ((f = _open(file, oflags, DEFFILEMODE)) < 0) { in fopen()
94 if (oflags & O_APPEND) in fopen()
/bionic/libc/stdio/
Dfreopen.c54 int flags, isopen, oflags, sverrno, wantfd; in freopen() local
56 if ((flags = __sflags(mode, &oflags)) == 0) { in freopen()
91 f = open(file, oflags, DEFFILEMODE); in freopen()
97 f = open(file, oflags, DEFFILEMODE); in freopen()
160 if (oflags & O_APPEND) in freopen()
/bionic/libc/netbsd/resolv/
Dres_query.c136 u_int oflags; in res_nquery() local
138 oflags = statp->_flags; in res_nquery()
168 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) { in res_nquery()