![]() |
Mbed OS Reference
|
Data Structures | |
struct | pollfh |
Functions | |
int | poll (pollfh fhs[], unsigned nfhs, int timeout) |
A mechanism to multiplex input/output over a set of file handles(file descriptors). More... | |
int poll | ( | pollfh | fhs[], |
unsigned | nfhs, | ||
int | timeout | ||
) |
A mechanism to multiplex input/output over a set of file handles(file descriptors).
For every file handle provided, poll() examines it for any events registered for that particular file handle.
fhs | an array of PollFh struct carrying a FileHandle and bitmasks of events |
nfhs | number of file handles |
timeout | timer value to timeout or -1 for loop forever |