furi_thread_stdin_unread

Function furi_thread_stdin_unread 

Source
pub unsafe extern "C" fn furi_thread_stdin_unread(
    buffer: *mut c_char,
    size: usize,
)
Expand description

Puts data back into the standard input buffer

furi_thread_stdin_read will return the bytes in the same order that they were supplied to this function.

Note: You can also use the standard C ungetc.

ยงArguments

  • buffer (direction in) - pointer to the buffer to get data from
  • size (direction in) - how many bytes to read from the buffer