riot_sys

Function shell_post_command_hook

Source
pub unsafe extern "C" fn shell_post_command_hook(
    ret: c_int,
    argc: c_int,
    argv: *mut *mut c_char,
)
Expand description

@brief Optional hook after shell command is called. @details User implemented function gets called before a valid shell command will be called. @note Only executed with the shell_hooks module.

@param[in] ret Return value of the shell command. @param[in] argc Number of arguments supplied to the function invocation. @param[in] argv The supplied argument list.