Function signal_hook::pipe::register_raw [−][src]
pub fn register_raw(signal: c_int, pipe: RawFd) -> Result<SigId, Error>
Registers a write to a self-pipe whenever there's the signal.
In this case, the pipe is taken as the RawFd
. It is still the caller's responsibility to
close it.