furi_thread_stdin_read

Function furi_thread_stdin_read 

Source
pub unsafe extern "C" fn furi_thread_stdin_read(
    buffer: *mut c_char,
    size: usize,
    timeout: FuriWait,
) -> usize
Expand description

Read data from the standard input

Note: You can also use the standard C getc, gets and friends.

§Arguments

  • buffer (direction in) - pointer to the buffer to read data into
  • size (direction in) - how many bytes to read into the buffer
  • timeout (direction in) - how long to wait for (in ticks) before giving up

§Returns

number of bytes that was actually read