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

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

Completed in 289 milliseconds