Creates or modified a signalfd.
fn signalfd4(fd: i32, set: &sigset_t, flags: i32) -> i32
| Name | Description |
|---|---|
| fd | The file descriptor to modify. |
| set | The set of signals to monitor. |
| flags | The flags used to create the fd. |
Unless lrs was compiled with the no-auto-cloexec flag, this function automatically adds the SFD_CLOEXEC flag.