riot_sys::bindgen

Function shell_run_once

Source
pub unsafe extern "C" fn shell_run_once(
    commands: *const shell_command_t,
    line_buf: *mut c_char,
    len: c_int,
)
Expand description

@brief Start a shell and exit once EOF is reached.

@param[in] commands ptr to array of command structs @param[in] line_buf Buffer that will be used for reading a line @param[in] len nr of bytes that fit in line_buf