Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:strspn - Calculate the length of the initial substring of @s which only contain letters in @accept*@s: The string to be searched*@accept: The string to search for

Proto:size_t strspn(const char *s, const char *accept)

Type:size_t

Parameter:

TypeParameterName
const char *s
const char *accept
561  count = 0
563  When p != '\0' cycle
564  When a != '\0' cycle
565  If p == a Then Break
568  If a == '\0' Then Return count
570  ++count
572  Return count
Caller
NameDescribe
device_node_string
apm_setup