函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kdbgetenv - This function will return the character string value of* an environment variable.* Parameters:* match A character string representing an environment variable.* Returns:* NULL No environment variable matches 'match'

函数原型:char *kdbgetenv(const char *match)

返回类型:char

参数:

类型参数名称
const char *match
231  ep等于Initial environment
232  matchlen等于strlen - Find the length of a string*@s: The string to be sized
235 i小于__nenv循环
236  e等于ep自加
238  如果非e则继续下一循环
241  如果字符串指定长度比较恒等于0且e[matchlen]恒等于'\0'或e[matchlen]恒等于'='的值则
245  返回:如果cpcp先自加否则""
248  返回:NULL
调用者
名称描述
vkdb_printf
kdbgetulenvkdbgetulenv - This function will return the value of an unsigned* long-valued environment variable.* Parameters:* match A character string representing a numeric value* Outputs:* *value the unsigned long represntation of the env variable 'match'* Returns:
kdb_localkdb_local - The main code for kdb
kdb_task_state_string