Function nix::unistd::alarm::set

pub fn set(secs: libc::c_uint) -> Option<libc::c_uint>
Documentation

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.

On this page