Lines Matching defs:sockfd
106 curl_socket_t sockfd;
256 if(f->sockfd) {
257 if(epoll_ctl(g->epfd, EPOLL_CTL_DEL, f->sockfd, NULL))
259 f->sockfd, strerror(errno));
275 if(f->sockfd) {
276 if(epoll_ctl(g->epfd, EPOLL_CTL_DEL, f->sockfd, NULL))
278 f->sockfd, strerror(errno));
281 f->sockfd = s;
417 curl_socket_t sockfd;
433 sockfd = open(fifo, O_RDWR | O_NONBLOCK, 0);
434 if(sockfd == -1) {
439 g->fifofd = sockfd;
440 g->input = fdopen(sockfd, "r");
443 epev.data.fd = sockfd;
444 epoll_ctl(g->epfd, EPOLL_CTL_ADD, sockfd, &epev);