* @brief This function will fill a formatted string to buffer. * * @param buf is the buffer to save formatted string. * * @param format is the format parameters. * * @param arg_ptr is a list of variable parameters. * * @return The number of characters actually written to buffer. */
| 50 | * @return The number of characters actually written to buffer. |
| 51 | */ |
| 52 | int rt_vsprintf(char *buf, const char *format, va_list arg_ptr) |
| 53 | { |
| 54 | return rt_vsnprintf(buf, (rt_size_t) - 1, format, arg_ptr); |
| 55 | } |
| 56 | RTM_EXPORT(rt_vsprintf); |
| 57 | |
| 58 | /** |
no test coverage detected