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

Name:kdballocenv - This function is used to allocate bytes for* environment entries.* Parameters:* match A character string representing a numeric value* Outputs:* *value the unsigned long representation of the env variable 'match'* Returns:

Proto:static char *kdballocenv(size_t bytes)

Type:char

Parameter:

TypeParameterName
size_tbytes
272  char * ep = NULL
274  If kdballocenv - This function is used to allocate bytes for* environment entries.* Parameters:* match A character string representing a numeric value* Outputs:* *value the unsigned long representation of the env variable 'match'* Returns: - envbufsize >= bytes Then
275  ep = envbuffer[envbufsize]
276  envbufsize += bytes
278  Return ep
Caller
NameDescribe
kdb_setkdb_set - This function implements the 'set' command. Alter an* existing environment variable or create a new one.