函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:strncasecmp - Case insensitive, length-limited string comparison*@s1: One string*@s2: The other string*@len: the maximum number of characters to compare

函数原型:int strncasecmp(const char *s1, const char *s2, size_t len)

返回类型:int

参数:

类型参数名称
const char *s1
const char *s2
size_tlen
48  如果非len则返回:0
51  循环
52  c1等于s1自加
53  c2等于s2自加
54  如果非c1或非c2退出
56  如果c1恒等于c2则继续下一循环
58  c1等于tolower(c1)
59  c2等于tolower(c2)
60  如果c1不等于c2退出
62 len先自减循环
63  返回:c1c2
调用者
名称描述
kdb_parsebp
match_dev_by_uuidmatch_dev_by_uuid - callback for finding a partition using its uuid*@dev: device passed in by the caller*@data: opaque pointer to the desired struct uuidcmp to match* Returns 1 if the device matches, and 0 otherwise.
mac_partition