MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_vsprintf

Function rt_vsprintf

src/klibc/kstdio.c:52–55  ·  view source on GitHub ↗

* @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. */

Source from the content-addressed store, hash-verified

50 * @return The number of characters actually written to buffer.
51 */
52int 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}
56RTM_EXPORT(rt_vsprintf);
57
58/**

Callers 15

ppp_traceFunction · 0.85
ef_log_debugFunction · 0.85
ef_log_infoFunction · 0.85
ef_printFunction · 0.85
ef_log_debugFunction · 0.85
ef_log_infoFunction · 0.85
ef_printFunction · 0.85
ef_log_debugFunction · 0.85
ef_log_infoFunction · 0.85
ef_printFunction · 0.85
ef_log_debugFunction · 0.85
ef_log_infoFunction · 0.85

Calls 1

rt_vsnprintfFunction · 0.70

Tested by

no test coverage detected