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

Name:drop_newline

Proto:static void drop_newline(char *buf)

Type:void

Parameter:

TypeParameterName
char *buf
1155  len = strlen - Find the length of a string*@s: The string to be sized
1157  If len == 0 Then Return
1159  If *( buf + len - 1) == '\n' Then *( buf + len - 1) = '\0'
Caller
NameDescribe
kdb_localkdb_local - The main code for kdb