Searched refs:mode_flags (Results 1 – 2 of 2) sorted by relevance
248 int mode_flags; in fopen() local249 int flags = __sflags(mode, &mode_flags); in fopen()252 int fd = open(file, mode_flags, DEFFILEMODE); in fopen()266 if ((mode_flags & O_APPEND) != 0) __sseek64(fp, 0, SEEK_END); in fopen()272 int mode_flags; in fdopen() local273 int flags = __sflags(mode, &mode_flags); in fdopen()280 if (tmp != O_RDWR && (tmp != (mode_flags & O_ACCMODE))) { in fdopen()287 if ((mode_flags & O_APPEND) && !(fd_flags & O_APPEND)) { in fdopen()292 if ((mode_flags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen()316 int mode_flags; in freopen() local[all …]
120 unsigned short mode_flags; member