Function lrs::syscall::signalfd4

Creates or modified a signalfd.

Syntax

fn signalfd4(fd: i32, set: &sigset_t, flags: i32) -> i32

Arguments

NameDescription
fd

The file descriptor to modify.

set

The set of signals to monitor.

flags

The flags used to create the fd.

Remarks

Unless lrs was compiled with the no-auto-cloexec flag, this function automatically adds the SFD_CLOEXEC flag.

See also