version 1.1.1.1.4.1, 2010/06/04 12:46:27
|
version 1.1.1.1.4.2, 2010/06/07 11:54:00
|
Line 11
|
Line 11
|
|
|
/* |
/* |
* cli_Cmd_Exit() Builtin helper function for Exit from Cli |
* cli_Cmd_Exit() Builtin helper function for Exit from Cli |
* @cmds = Commands list | * @buffer = CLI buffer |
* @idx = Selected command ID |
* @idx = Selected command ID |
* @out = Output handle |
|
* @args = Parsed arguments array |
* @args = Parsed arguments array |
* return: 1 exit from Cli! | * return: RETCODE_EOF exit from Cli! |
*/ |
*/ |
int cli_Cmd_Exit(void *cmds, int idx, FILE *out, char ** __restrict args) | int cli_Cmd_Exit(void * __restrict buffer, int idx, char ** __restrict argv) |
{ |
{ |
return 1; | cli_Printf(buffer, "\n"); |
| return RETCODE_EOF; |
} |
} |
|
|
/* |
/* |