函数逻辑报告 |
Source Code:lib\vsprintf.c |
Create Date:2022-07-27 07:09:15 |
| Last Modify:2022-05-21 09:47:42 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Convert passed number to decimal string.* Returns the length of string. On buffer overflow, returns 0.* If speed is not important, use snprintf(). It's easy to read the code.
函数原型:int num_to_str(char *buf, int size, unsigned long long num, unsigned int width)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | buf | |
| int | size | |
| unsigned long long | num | |
| unsigned int | width |
| 351 | 如果num小于等于9则 |
| 354 | 否则 |
| 365 | 否则 |
| 366 | width等于0 |
| 名称 | 描述 |
|---|---|
| seq_put_decimal_ll | |
| seq_put_decimal_ull_width | A helper routine for putting decimal numbers without rich format of printf() |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |