poll_wrapper
ret = poll_wrapper(NULL, 0, timeout * 1000, &elapsed);
ret = poll_wrapper(&fd, 1, timeout * 1000, &elapsed);