Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kdb_getstr* Print the prompt string and read a command from the* input device.* Parameters:* buffer Address of buffer to receive command* bufsize Size of buffer in bytes* prompt Pointer to string to use as prompt string* Returns:

Proto:char *kdb_getstr(char *buffer, size_t bufsize, const char *prompt)

Type:char

Parameter:

TypeParameterName
char *buffer
size_tbufsize
const char *prompt
438  If prompt && kdb_prompt_str != prompt Then strscpy - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The
440  kdb_printf(kdb_prompt_str)
441  Current number of lines displayed = 1
442  Return kdb_read* This function reads a string of characters, terminated by* a newline, or by reaching the end of the supplied buffer,* from the current kernel debugger console device.* Parameters:* Returns:* Returns a pointer to the buffer containing the received
Caller
NameDescribe
vkdb_printf
kdb_localkdb_local - The main code for kdb