pub unsafe extern "C" fn furi_thread_stdin_read(
buffer: *mut c_char,
size: usize,
timeout: FuriWait,
) -> usizeExpand description
Read data from the standard input
Note: You can also use the standard C
getc,getsand friends.
§Arguments
buffer(direction in) - pointer to the buffer to read data intosize(direction in) - how many bytes to read into the buffertimeout(direction in) - how long to wait for (in ticks) before giving up
§Returns
number of bytes that was actually read