Wrapper structure for the structure pollfd used by the kernel poll functions.
More...
#include <poll_table.h>
|
| | PollFD (int vfd, int mask) |
| | Initializes the structure. More...
|
| |
| bool | operator== (int n) |
| | Returns true if the file descriptor is the same as the given value. More...
|
| |
Wrapper structure for the structure pollfd used by the kernel poll functions.
- See also
- PollTable
| net::PollFD::PollFD |
( |
int |
vfd, |
|
|
int |
mask |
|
) |
| |
|
inline |
Initializes the structure.
- Parameters
-
| vfd | File descriptor. |
| mask | Poll mask. |
| bool net::PollFD::operator== |
( |
int |
n | ) |
|
|
inline |
Returns true if the file descriptor is the same as the given value.
The documentation for this struct was generated from the following file: