Function report |
Source Code:lib\vsprintf.c |
Create Date:2022-07-28 06:12:01 |
| Last Modify:2022-05-21 09:47:42 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Handle field width padding for a string.*@buf: current buffer position*@n: length of string*@end: end of output buffer*@spec: for field width and flags* Returns: new buffer position after padding.
Proto:static __attribute__((__noinline__)) char *widen_string(char *buf, int n, char *end, struct printf_spec spec)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | buf | |
| int | n | |
| char * | end | |
| struct printf_spec | spec |
| 583 | If Value is more likely to compile time(n >= width of output field ) Then Return buf |
| 586 | spaces = width of output field - n |
| 587 | If Not ( flags to number() & left justified ) Then |
| 596 | Return buf |
| Name | Describe |
|---|---|
| string_nocheck | Handle string from a well known address. |
| dentry_name | |
| device_node_string | |
| fwnode_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 |