Lines Matching +full:tv +full:- +full:set
52 struct timeval tv; in main() local
56 tv.tv_sec = 0; in main()
57 tv.tv_usec = 1; in main()
59 if (pipe(pipefd) == -1) in main()
64 rv = select(pipefd[0]+1, &rfds, NULL, NULL, &tv); in main()
65 if (rv == -1) in main()
71 errx(EXIT_FAILURE, "stdin fileno is still set"); in main()
75 struct timeval tv; in main() local
78 tv.tv_sec = 0; in main()
79 tv.tv_usec = 1; in main()
83 rv = select(100, &fds, &fds, &fds, &tv); in main()
84 if (rv == -1) in main()
89 rv = select(0, NULL, NULL, NULL, &tv); in main()
90 if (rv == -1) in main()
101 if (fd == -1) in main()
124 if ((fd = open("/dev/null", O_RDWR)) == -1) in main()
128 if (fd != -1 || errno != ENFILE) in main()