pub fn linux_get_dirty_char() -> char
Available on crate features
unsafe_syscall
and linux
only.Expand description
Gets either a single char
from stdin, or the replacement character.
If the bytes received doesn’t form a valid unicode scalar then the replacement character (�) will be returned.
§Error Handling
If the read fails, it prints an error message and exits with status code 11.