pub fn set(secs: c_uint) -> Option<c_uint>
Available on crate feature
signal
only.Expand description
Schedule an alarm signal.
This will cause the system to generate a SIGALRM
signal for the
process after the specified number of seconds have elapsed.
Returns the leftover time of a previously set alarm if there was one.