devela::sys::os::linux::io

Function linux_pause_until_char

Source
pub fn linux_pause_until_char(list: &[char])
Available on crate features unsafe_syscall and linux only.
Expand description

Pauses execution until receiving from stdin any char in the list.

ยงError Handling

If the read fails, it prints an error message and exits with status code 11.