A class that wraps signalfd().
More...
#include <SignalFD.hxx>
A class that wraps signalfd().
Definition at line 31 of file SignalFD.hxx.
◆ SignalFD() [1/2]
◆ ~SignalFD()
◆ SignalFD() [2/2]
SignalFD::SignalFD |
( |
const SignalFD & |
other | ) |
|
|
delete |
◆ Close()
◆ Create()
void SignalFD::Create |
( |
const sigset_t & |
mask | ) |
|
Create the signalfd or update its mask.
All errors are fatal.
◆ Get()
int SignalFD::Get |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ Read()
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: