Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:size_t match_strlcpy(char *dest, const substring_t *src, size_t size)

Type:size_t

Parameter:

TypeParameterName
char *dest
const substring_t *src
size_tsize
301  ret = to - from
303  If size Then
304  len = If ret >= size Then size - 1 Else ret
305  No 3D Now!(dest, from, len)
306  dest[len] = '\0'
308  Return ret
Caller
NameDescribe
ioc_qos_write
ioc_cost_model_write