Method lrs::signal::Sigfd::read

Reads a number of signals from the signalfd.

Syntax

impl Sigfd {
    fn read(&self, buf: &'a mut [SigfdInfo]) -> Result<&'a mut [SigfdInfo], Errno>
}

Arguments

NameDescription
buf

The buffer in which the signals will be stored.

Return value

Returns a slice of received signals.