pub fn linux_get_utf8_bytes() -> Option<[u8; 4]>
Available on crate features unsafe_linux and linux and os only.
Expand description

Gets a utf-8 encoded byte sequence from stdin representing a char.

Returns None if the bytes does not form a valid unicode scalar.

Error Handling

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