Function report | 
Source Code:kernel\debug\kdb\kdb_support.c | 
Create Date:2022-07-28 11:43:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kdb_strdup - kdb equivalent of strdup, for disasm code.* Inputs:* str The string to duplicate.* type Flags to kmalloc for the new string.* Returns:* Address of the new string, NULL if storage could not be allocated.* Remarks:* This is not in lib/string
Proto:char *kdb_strdup(const char *str, gfp_t type)
Type:char
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | str | |
| gfp_t | type | 
| 310 | s = Allocation memory | 
| 311 | If Not s Then Return NULL | 
| Name | Describe | 
|---|---|
| kdb_defcmd | 
| 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  |