Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\string.c Create Date:2022-07-28 06:00:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:strreplace - Replace all occurrences of character in string.*@s: The string to operate on.*@old: The character being replaced.*@new: The character @old is replaced with.* Returns pointer to the nul byte at the end of @s.

Proto:char *strreplace(char *s, char old, char new)

Type:char

Parameter:

TypeParameterName
char *s
charold
charnew
1086  When s cycle If s == old Then
1088  s = new
1089  Return s
Caller
NameDescribe
kobject_set_name_vargskobject_set_name_vargs() - Set the name of a kobject.*@kobj: struct kobject to set the name of*@fmt: format string used to build the name*@vargs: vargs to format the string.
setup_boot_kprobe_events