Searched refs:fdflags (Results 1 – 2 of 2) sorted by relevance
119 int fdflags = fcntl (fd, F_GETFL); in sync_arg() local120 if (fdflags == -1 in sync_arg()121 || fcntl (fd, F_SETFL, fdflags & ~O_NONBLOCK) < 0) in sync_arg()
1401 int fdflags; in main() local1404 if ((fdflags = fcntl (STDIN_FILENO, F_GETFL)) == -1 in main()1405 || fcntl (STDIN_FILENO, F_SETFL, fdflags & ~O_NONBLOCK) < 0) in main()