A class that wraps signalfd().
More...
#include <SignalFD.hxx>
A class that wraps signalfd().
Definition at line 31 of file SignalFD.hxx.
SignalFD::SignalFD |
( |
const SignalFD & |
other | ) |
|
|
delete |
void SignalFD::Create |
( |
const sigset_t & |
mask | ) |
|
Create the signalfd or update its mask.
All errors are fatal.
int SignalFD::Get |
( |
| ) |
const |
|
inline |
Read the next signal from the file descriptor.
Returns the signal number on success or -1 if there are no more signals.
The documentation for this class was generated from the following file: