Searched refs:ufds (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10/curl-83.1.2/curl/lib/
H A Dselect.c380 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms) argument
397 if(ufds) {
399 if(ufds[i].fd != CURL_SOCKET_BAD) {
427 r = poll(ufds, nfds, pending_ms);
446 if(ufds[i].fd == CURL_SOCKET_BAD)
448 if(ufds[i].revents & POLLHUP)
449 ufds[i].revents |= POLLIN;
450 if(ufds[i].revents & POLLERR)
451 ufds[i].revents |= (POLLIN|POLLOUT);
462 ufds[
[all...]
H A Dselect.h82 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
H A Dmulti.c793 struct pollfd *ufds = NULL; local
834 ufds = malloc(nfds * sizeof(struct pollfd));
835 if(!ufds)
853 ufds[nfds].fd = sockbunch[i];
854 ufds[nfds].events = POLLIN;
859 ufds[nfds].fd = sockbunch[i];
860 ufds[nfds].events = POLLOUT;
875 ufds[nfds].fd = extra_fds[i].fd;
876 ufds[nfds].events = 0;
878 ufds[nfd
[all...]

Completed in 70 milliseconds