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