MCPcopy Create free account
hub / github.com/SmingHub/Sming / m_printf

Function m_printf

Sming/System/m_printf.cpp:104–114  ·  view source on GitHub ↗

* @fn int m_printf(const char *fmt, ...); * * @param fmt - printf compatible format string * * @retval int - number of characters written to console */

Source from the content-addressed store, hash-verified

102 * @retval int - number of characters written to console
103 */
104int m_printf(const char* fmt, ...)
105{
106 if (!_puts_callback || !fmt)
107 return 0;
108
109 va_list args;
110 va_start(args, fmt);
111 int n = m_vprintf(fmt, args);
112 va_end(args);
113 return n;
114}
115
116int m_vsnprintf(char *buf, size_t maxLen, const char *fmt, va_list args)
117{

Callers 7

copySomeFilesFunction · 0.85
listAttributesFunction · 0.85
debug_print_stackFunction · 0.85
debug_crash_callbackFunction · 0.85
dumpExceptionInfoFunction · 0.85
printfFunction · 0.85

Calls 1

m_vprintfFunction · 0.85

Tested by

no test coverage detected