Function report | 
Source Code:lib\string_helpers.c | 
Create Date:2022-07-28 06:25:57 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Return an allocated string that has been escaped of special characters* and double quotes, making it safe to log in quotes.
Proto:char *kstrdup_quotable(const char *src, gfp_t gfp)
Type:char
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | src | |
| gfp_t | gfp | 
| 573 | flags = ESCAPE_HEX | 
| 574 | esc[] = "\f\n\r\t\v\a\e\\\"" | 
| 576 | If Not src Then Return NULL | 
| 582 | If Not dst Then Return NULL | 
| 588 | Return dst | 
| Name | Describe | 
|---|---|
| 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 "<". | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |