riot_sys

Function shell_handle_input_line

Source
pub unsafe extern "C" fn shell_handle_input_line(
    commands: *const shell_command_t,
    line: *mut c_char,
) -> c_int
Expand description

@brief Parse and run a line of text as a shell command with arguments.

@param[in] commands ptr to array of command structs @param[in] line The input line to parse

@returns return value of the found command @returns -ENOEXEC if no valid command could be found