nix::unistd::alarm

Function cancel

Source
pub fn cancel() -> Option<c_uint>
Expand description

Cancel an previously set alarm signal.

Returns the leftover time of a previously set alarm if there was one.