Searched refs:mode_flags (Results 1 – 2 of 2) sorted by relevance
254 int mode_flags; in fopen() local255 int flags = __sflags(mode, &mode_flags); in fopen()258 int fd = open(file, mode_flags, DEFFILEMODE); in fopen()271 if ((mode_flags & O_APPEND) != 0) __sseek64(fp, 0, SEEK_END); in fopen()277 int mode_flags; in fdopen() local278 int flags = __sflags(mode, &mode_flags); in fdopen()285 if (tmp != O_RDWR && (tmp != (mode_flags & O_ACCMODE))) { in fdopen()292 if ((mode_flags & O_APPEND) && !(fd_flags & O_APPEND)) { in fdopen()297 if ((mode_flags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen()310 int mode_flags; in freopen() local[all …]
120 unsigned short mode_flags; member