Function report | 
Source Code:lib\kasprintf.c | 
Create Date:2022-07-28 06:20:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Simplified asprintf.
Proto:char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap)
Type:char
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| gfp_t | gfp | |
| const char * | fmt | |
| va_list | ap | 
| 25 | p = kmalloc_track_caller(first + 1, gfp) | 
| 26 | If Not p Then Return NULL | 
| 30 | WARN(first != second, "different return values (%u and %u) from vsnprintf(\"%s\", ...)", first, second, fmt) | 
| 33 | Return p | 
| Name | Describe | 
|---|---|
| kvasprintf_const | If fmt contains no % (or is exactly %s), use kstrdup_const. If fmt* (or the sole vararg) points to rodata, we will then save a memory* allocation and string copy. In any case, the return value should be* freed using kfree_const(). | 
| kasprintf | |
| __test | 
| 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  |