PollFD
Object Hierarchy:
Description:
public struct PollFD
A file descriptor object.
Content:
Static methods:
- public static bool can_read (Poll @set, PollFD fd)
Check if fd in set has data to be read.
- public static bool can_write (Poll @set, PollFD fd)
Check if fd in set can be used for writing.
- public static bool ctl_read (Poll @set, PollFD fd, bool active)
Control whether the descriptor fd in set will be
monitored for readability.
- public static bool ctl_write (Poll @set, PollFD fd, bool active)
Control whether the descriptor fd in set will be
monitored for writability.
- public static bool has_closed (Poll @set, PollFD fd)
Check if fd in set has closed the connection.
- public static bool has_error (Poll @set, PollFD fd)
Check if fd in set has an error.
- public static void ignored (Poll @set, PollFD fd)
Mark fd as ignored so that the next call to
wait will yield the same result for fd as last time.
Methods:
- public void init ()
Initializes fd.
Fields: