Function bczhc_lib::io::put_c_char

source ·
pub fn put_c_char(c: u8) -> Result<()>
Expand description

Write a byte to [stdout] immediately

Examples

use bczhc_lib::io::put_c_char;

put_c_char(b'a').unwrap();

Errors

When the C putchar returns [libc::EOF]