函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:match_strlcpy: - Copy the characters from a substring_t to a sized buffer*@dest: where to copy to*@src: &substring_t to copy*@size: size of destination buffer* Description: Copy the characters in &substring_t @src to the* c-style string @dest

函数原型:size_t match_strlcpy(char *dest, const substring_t *src, size_t size)

返回类型:size_t

参数:

类型参数名称
char *dest
const substring_t *src
size_tsize
301  ret等于tofrom
303  如果size
304  len等于如果ret大于等于sizesize减1否则ret
305  内存复制(dest, from, len)
306  dest[len]等于'\0'
308  返回:ret
调用者
名称描述
ioc_qos_write
ioc_cost_model_write