函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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:

函数原型:char *kdb_getstr(char *buffer, size_t bufsize, const char *prompt)

返回类型:char

参数:

类型参数名称
char *buffer
size_tbufsize
const char *prompt
438  如果promptkdb_prompt_str不等于promptstrscpy - 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  返回: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
调用者
名称描述
vkdb_printf
kdb_localkdb_local - The main code for kdb