Function report |
Source Code:lib\string_helpers.c |
Create Date:2022-07-28 06:25:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:escape_special
Proto:static bool escape_special(unsigned char c, char **dst, char *end)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned char | c | |
| char ** | dst | |
| char * | end |
| 355 | Case c == '\\' |
| 356 | to = '\\' |
| 357 | Break |
| 358 | Case c == '\a' |
| 359 | to = 'a' |
| 360 | Break |
| 361 | Case c == '\e' |
| 362 | to = 'e' |
| 363 | Break |
| 364 | Default |
| 365 | Return false |
| 370 | ++out |
| 373 | ++out |
| 376 | Return true |
| Name | Describe |
|---|---|
| string_escape_mem | string_escape_mem - quote characters in the given memory buffer*@src: source buffer (unescaped)*@isz: source buffer size*@dst: destination buffer (escaped)*@osz: destination buffer size*@flags: combination of the flags*@only: NULL-terminated string |
| 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 |