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:strnchr - Find a character in a length limited string*@s: The string to be searched*@count: The number of characters to be searched*@c: The character to search for* Note that the %NUL-terminator is considered part of the string, and can* be searched for.

Proto:char *strnchr(const char *s, size_t count, int c)

Type:char

Parameter:

TypeParameterName
const char *s
size_tcount
intc
467  When count-- cycle
468  If s == c Then Return s
470  If s++ == '\0' Then Break
473  Return NULL
Caller
NameDescribe
kobject_action_type
strnchr_selftest
ima_show_template_data_ascii