Lines Matching defs:flags
43 if (f->buf != NULL || f->buf_size != 0 || f->flags & F_NOBUF) {
73 int flags = syscall(SYS_fcntl, fd, F_GETFL, 0);
74 if (flags == -1) {
78 /* Compute the flags to pass to open() */
89 flags = __syscall(SYS_fcntl, fd, F_GETFL);
90 if (!(flags & O_APPEND))
91 __syscall(SYS_fcntl, fd, F_SETFL, flags | O_APPEND);
103 FILE *__fdopenx(int fd, int flags)
116 f->flags = flags;
121 if (!(f->flags & F_NOWR) && !__syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz)) {