函数逻辑报告 |
Source Code:lib\argv_split.c |
Create Date:2022-07-27 07:11:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:argv_split - split a string at whitespace, returning an argv*@gfp: the GFP mask used to allocate memory*@str: the string to be split*@argcp: returned argument count* Returns an array of pointers to strings which are split out from*@str
函数原型:char **argv_split(gfp_t gfp, const char *str, int *argcp)
返回类型:char
参数:
类型 | 参数 | 名称 |
---|---|---|
gfp_t | gfp | |
const char * | str | |
int * | argcp |
67 | argv_str等于kstrndup(str, Maximum allocatable size - 1, gfp) |
68 | 如果非argv_str则返回:NULL |
71 | argc等于count_argc(argv_str) |
73 | 如果非argv则 |
74 | 释放内存 |
75 | 返回:NULL |
84 | 否则如果was_space则 |
89 | * argv = NULL |
93 | 返回:argv_ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |