Function wait_for_signal

Source
pub fn wait_for_signal(
    signals: &[c_int],
    timeout: Option<Duration>,
) -> Result<c_int>
Expand description

Wait for signal before continuing. The signal number of the consumed signal is returned on success. EAGAIN means the timeout was reached.