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:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static int kdbgetulenv(const char *match, unsigned long *value)

Type:int

Parameter:

TypeParameterName
const char *match
unsigned long *value
295  ep = 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'
296  If Not ep Then Return KDB_NOTENV
298  If strlen - Find the length of a string*@s: The string to be sized == 0 Then Return KDB_NOENVVALUE
301  value = simple_strtoul - convert a string to an unsigned long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use* This function is obsolete. Please use kstrtoul instead.
303  Return 0
Caller
NameDescribe
kdbgetintenvkdbgetintenv - This function will return the value of an* integer-valued environment variable
kdbgetaddrargkdbgetaddrarg - This function is responsible for parsing an* address-expression and returning the value of the expression,* symbol name, and offset to the caller