函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_main.c Create Date:2022-07-27 12:46:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kdb_help - This function implements the 'help' and '?' commands.

函数原型:static int kdb_help(int argc, const char **argv)

返回类型:int

参数:

类型参数名称
intargc
const char **argv
2428  kdb_printf("%-15.15s %-20.20s %s\n", "Command", "Usage", "Description")
2429  kdb_printf("----------------------------------------------------------\n")
2432  space等于""
2433  如果KDB_FLAG(CMD_INTERRUPT)则返回:0
2435  如果非Command name 则继续下一循环
2437  如果非Check whether the flags of the current command and the permissions* of the kdb console has allow a command to be run.则继续下一循环
2439  如果strlen - Find the length of a string*@s: The string to be sized大于20则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  返回:0