Home
last modified time | relevance | path

Searched refs:waitfd (Results 1 – 1 of 1) sorted by relevance

/curl/tests/libtest/
H A Dlib677.c55 struct curl_waitfd waitfd; in test() local
73 waitfd.events = state ? CURL_WAIT_POLLIN : CURL_WAIT_POLLOUT; in test()
74 waitfd.revents = 0; in test()
76 waitfd.fd = sock; in test()
78 curl_multi_wait(mcurl, &waitfd, sock == CURL_SOCKET_BAD ? 0 : 1, 50, in test()
80 if((sock != CURL_SOCKET_BAD) && (waitfd.revents & waitfd.events)) { in test()

Completed in 4 milliseconds