polltest.cpp 119 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 #include <poll.h> int main(void) { struct pollfd pfd = { 0, 0, 0}; int status = poll(&pfd, 1, 0); return status; }