lwip_pollscan() function
Update revents in each struct pollfd. Optionally update select_waiting in struct lwip_sock.
Arguments
fds
array of structures to update
nfds
number of structures in fds
opts
what to update and how
Return value
number of structures that have revents != 0