Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_main.c Create Date:2022-07-28 11:40:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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'

Proto:char *kdbgetenv(const char *match)

Type:char

Parameter:

TypeParameterName
const char *match
231  ep = Initial environment
232  matchlen = strlen - Find the length of a string*@s: The string to be sized
235  When i < __nenv cycle
236  e = ep++
238  If Not e Then Continue
241  If strncmp(match, e, matchlen) == 0 && ( e[matchlen] == '\0' || e[matchlen] == '=' ) Then
245  Return If cp Then ++cp Else ""
248  Return NULL
Caller
NameDescribe
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