Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfmemopen.c121 int flags, oflags; in fmemopen() local
128 if ((flags = __sflags(mode, &oflags)) == 0) { in fmemopen()
133 if (buf == NULL && ((oflags & O_RDWR) == 0)) { in fmemopen()
147 st->len = (oflags & O_WRONLY) ? 0 : size; in fmemopen()
149 st->update = oflags & O_RDWR; in fmemopen()
161 if (oflags & O_TRUNC) in fmemopen()
164 if (oflags & O_APPEND) { in fmemopen()
/bionic/libc/stdio/
Dstdio.cpp198 int oflags; in fopen() local
199 int flags = __sflags(mode, &oflags); in fopen()
202 int fd = open(file, oflags, DEFFILEMODE); in fopen()
221 if (oflags & O_APPEND) __sseek64(fp, 0, SEEK_END); in fopen()
228 int oflags; in fdopen() local
229 int flags = __sflags(mode, &oflags); in fdopen()
236 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { in fdopen()
245 if ((oflags & O_APPEND) && !(fdflags & O_APPEND)) flags |= __SAPP; in fdopen()
248 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen()
260 int oflags; in freopen() local
[all …]
/bionic/libc/dns/resolv/
Dres_query.c137 u_int oflags; in res_nquery() local
139 oflags = statp->_flags; in res_nquery()
169 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) { in res_nquery()
/bionic/libc/kernel/uapi/rdma/
Dib_user_verbs.h264 __u32 oflags; member