函数逻辑报告 | 
Source Code:lib\string_helpers.c | 
Create Date:2022-07-27 07:23:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Return an allocated string that has been escaped of special characters* and double quotes, making it safe to log in quotes.
函数原型:char *kstrdup_quotable(const char *src, gfp_t gfp)
返回类型:char
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| const char * | src | |
| gfp_t | gfp | 
| 573 | flags等于ESCAPE_HEX | 
| 574 | esc[]等于"\f\n\r\t\v\a\e\\\"" | 
| 576 | 如果非src则返回:NULL | 
| 582 | 如果非dst则返回:NULL | 
| 588 | 返回:dst | 
| 名称 | 描述 | 
|---|---|
| kstrdup_quotable_cmdline | Returns allocated NULL-terminated string containing process* command line, with inter-argument NULLs replaced with spaces,* and other special characters escaped. | 
| kstrdup_quotable_file | Returns allocated NULL-terminated string containing pathname,* with special characters escaped, able to be safely logged. If* there is an error, the leading character will be "<". | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |