Home | History | Annotate | Download | only in src

Lines Matching refs:flags

62 	int flags;
68 flags = fcntl(fd, F_GETFD);
69 if (flags != -1) {
70 flags |= FD_CLOEXEC;
71 fcntl(fd, F_SETFD, flags);
80 int flags;
85 flags = fcntl(fd, F_GETFL);
86 if (flags != -1) {
87 flags |= O_NONBLOCK;
88 fcntl(fd, F_SETFL, flags);