Lines Matching full:readfds
292 fd_set readfds;
296 FD_ZERO(&readfds);
297 FD_SET(fd, &readfds);
306 ret = select(fd + 1, &readfds, NULL, NULL, &timeout);
313 if (FD_ISSET(fd, &readfds))
314 tst_resm(TPASS, "fd is set in readfds");
316 tst_resm(TFAIL, "fd is not set in readfds");
326 fd_set readfds;
329 FD_ZERO(&readfds);
330 FD_SET(fd, &readfds);
338 ret = select(fd + 1, &readfds, NULL, NULL, &timeout);
345 if (!FD_ISSET(fd, &readfds))
346 tst_resm(TPASS, "fd is not set in readfds");
348 tst_resm(TFAIL, "fd is set in readfds");
567 fd_set readfds;
578 FD_ZERO(&readfds);
579 FD_SET(evfd, &readfds);
580 ret = select(evfd + 1, &readfds, NULL, NULL, &timeout);
585 if (FD_ISSET(evfd, &readfds))