/* This function will fill a formatted string to buffer */
rt_int32_t rt_snprintf(char *buf, rt_size_t size, const char *fmt,...)
/* This function will fill a formatted string to buffer */
rt_int32_t rt_snprintf(char *buf, rt_size_t size, const char *fmt,...)
{
    rt_int32_t n;
    va_list args;
    va_start(args, fmt);
    n = rt_vsnprintf(buf, size, fmt, args);
    va_end(args);
    return n;
}