Searched refs:fds_read (Results 1 – 4 of 4) sorted by relevance
/curl/lib/ |
H A D | select.c | 121 fd_set *fds_read, /* sockets ready for reading */ in our_select() argument 131 if((!fds_read || fds_read->fd_count == 0) && in our_select() 155 fds_read && fds_read->fd_count ? fds_read : NULL, in our_select() 159 return select((int)maxfd + 1, fds_read, fds_write, fds_err, ptimeout); in our_select() 273 fd_set fds_read; in Curl_poll() 332 FD_ZERO(&fds_read); in Curl_poll() 347 FD_SET(ufds[i].fd, &fds_read); in Curl_poll() 361 r = our_select(maxfd, &fds_read, &fds_write, &fds_err, timeout_ms); in Curl_poll() 374 if(FD_ISSET(ufds[i].fd, &fds_read)) { in Curl_poll()
|
/curl/tests/server/ |
H A D | socksd.c | 688 fd_set fds_read; in incoming() local 715 FD_ZERO(&fds_read); in incoming() 720 FD_SET(sockfd, &fds_read); in incoming() 725 FD_SET(fd, &fds_read); in incoming() 729 FD_SET(fd, &fds_read); in incoming() 737 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, NULL); in incoming() 750 if((clients < 2) && FD_ISSET(sockfd, &fds_read)) { in incoming() 786 if(tunnel(cp, &fds_read)) { in incoming()
|
H A D | sockfilt.c | 967 fd_set fds_read; in juggle() local 995 FD_ZERO(&fds_read); in juggle() 999 FD_SET((curl_socket_t)fileno(stdin), &fds_read); in juggle() 1008 FD_SET(sockfd, &fds_read); in juggle() 1022 FD_SET(sockfd, &fds_read); in juggle() 1032 FD_SET(sockfd, &fds_read); in juggle() 1055 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, &timeout); in juggle() 1075 if(FD_ISSET(fileno(stdin), &fds_read)) { in juggle() 1159 if((sockfd != CURL_SOCKET_BAD) && (FD_ISSET(sockfd, &fds_read)) ) { in juggle()
|
H A D | mqttd.c | 722 fd_set fds_read; in incoming() local 746 FD_ZERO(&fds_read); in incoming() 751 FD_SET(sockfd, &fds_read); in incoming() 755 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, NULL); in incoming() 768 if(FD_ISSET(sockfd, &fds_read)) { in incoming()
|
Completed in 18 milliseconds