arceos_api::stdio

Function ax_console_read_bytes

Source
pub fn ax_console_read_bytes(buf: &mut [u8]) -> AxResult<usize>
Expand description

Reads a slice of bytes from the console, returns the number of bytes written.