Function report |
Source Code:kernel\debug\kdb\kdb_main.c |
Create Date:2022-07-28 11:42:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kdb_help - This function implements the 'help' and '?' commands.
Proto:static int kdb_help(int argc, const char **argv)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | argc | |
const char ** | argv |
2428 | kdb_printf("%-15.15s %-20.20s %s\n", "Command", "Usage", "Description") |
2429 | kdb_printf("----------------------------------------------------------\n") |
2432 | space = "" |
2433 | If KDB_FLAG(CMD_INTERRUPT) Then Return 0 |
2435 | If Not Command name Then Continue |
2437 | If Not Check whether the flags of the current command and the permissions* of the kdb console has allow a command to be run. Then Continue |
2439 | If strlen - Find the length of a string*@s: The string to be sized > 20 Then space = "\n " |
2441 | kdb_printf("%-15.15s %-20s%s%s\n", Command name , Usage String for this command , space, Help message for this command ) |
2444 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |