函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Merge two NULL-terminated pointer arrays into a newly allocated* array, which is also NULL-terminated. Nomenclature is inspired by* memset_p() and memcat() found elsewhere in the kernel source tree.

函数原型:void **__memcat_p(void **a, void **b)

返回类型:void

参数:

类型参数名称
void **a
void **b
12  p等于a
16 p循环p循环
21  nr自加
23  new等于分配数组内存
24  如果非new则返回:NULL
28 nr大于等于0循环new[nr]等于p
31  返回:new