Searched refs:mode_flags (Results 1 – 2 of 2) sorted by relevance
252 int mode_flags; in fopen() local253 int flags = __sflags(mode, &mode_flags); in fopen()256 int fd = open(file, mode_flags, DEFFILEMODE); in fopen()269 if ((mode_flags & O_APPEND) != 0) __sseek64(fp, 0, SEEK_END); in fopen()275 int mode_flags; in fdopen() local276 int flags = __sflags(mode, &mode_flags); in fdopen()283 if (tmp != O_RDWR && (tmp != (mode_flags & O_ACCMODE))) { in fdopen()290 if ((mode_flags & O_APPEND) && !(fd_flags & O_APPEND)) { in fdopen()295 if ((mode_flags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen()308 int mode_flags; in freopen() local[all …]
120 unsigned short mode_flags; member