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