Constructor. Creates a signal event file descriptor which will be written to when one of the specified signals fires. The normal signal handling for the specified signals is optionally masked.
Destructor. Destroys the signal file descriptor and unmasks all masked signals.
More convenient alias for signalfd_siginfo.
errno exception type for signal events.
Required by ISelectable interface.
Should be called when the signal event has fired. Fills in the provided array with structs containing information about which signals fired.
Checks whether the specified signal is registered to be handled by this fd.
Masks all signals registered with this fd, meaning that the default signal (interrupt) handler will not deal with them from now.
Adds the specified signal to the set of signals handled by this fd. The normal signal handling for the specified signal is optionally masked.
Getter for the list of registered signals. Changing the contents of the returned array may lead to undefined behaviour.
Unmasks all signals registered with this fd, meaning that the default signal (interrupt) handler will deal with them from now.
Models a handle-oriented device.
Ditto