/* This function will fill a formatted string to buffer */
rt_int32_t rt_sprintf(char *buf, const char *format,...)
/* This function will fill a formatted string to buffer */
rt_int32_t rt_sprintf(char *buf, const char *format,...)
{
    rt_int32_t n;
    va_list arg_ptr;
    va_start(arg_ptr, format);
    n = rt_vsprintf(buf ,format, arg_ptr);
    va_end(arg_ptr);
    return n;
}