Searched refs:fd_flags (Results 1 – 2 of 2) sorted by relevance
28 __u32 fd_flags; member
277 int fd_flags = fcntl(fd, F_GETFL, 0); in fdopen() local278 if (fd_flags == -1) return nullptr; in fdopen()279 int tmp = fd_flags & O_ACCMODE; in fdopen()287 if ((mode_flags & O_APPEND) && !(fd_flags & O_APPEND)) { in fdopen()288 if (fcntl(fd, F_SETFL, fd_flags | O_APPEND) == -1) return nullptr; in fdopen()