struct libusb_pollfd
Overview
File descriptor for polling. Moreā¦
#include <libusb.h> struct libusb_pollfd { // fields int fd; short events; };
Detailed Documentation
File descriptor for polling.
Fields
int fd
Numeric file descriptor.
short events
Event flags to poll for from <poll.h>.
POLLIN indicates that you should monitor this file descriptor for becoming ready to read from, and POLLOUT indicates that you should monitor this file descriptor for nonblocking write readiness.