wish_app_deps/wish_platform.c
int wish_platform_sprintf(char* str, const char* format, ...) {
    if (my_vsprintf == NULL) {
        return 0;
    }
    va_list argptr;
    va_start(argptr, format);
    int retval = my_vsprintf(str, format, argptr);
    va_end(argptr);
    return retval;
}
/* For "normal" platforms, we use this function taking a variable
 * argument list. For ESP8266, we just re-define wish_platform_sprintf
 * to a platform-specific sprintf function */
For "normal" platforms, we use this function taking a variable
argument list. For ESP8266, we just re-define wish_platform_sprintf
to a platform-specific sprintf function
For " normal " platforms we use this function taking a variable argument list . For ESP8266 we just re - define wish_platform_sprintf to a platform - specific sprintf function
int wish_platform_sprintf(char* str, const char* format, ...) {
    if (my_vsprintf == NULL) {
        return 0;
    }
    va_list argptr;
    va_start(argptr, format);
    int retval = my_vsprintf(str, format, argptr);
    va_end(argptr);
    return retval;
}
int wish_platform_sprintf ( char * str , const char * format , ... ) { if ( my_vsprintf == NULL ) { return 0 ; } va_list argptr ; va_start ( argptr , format ) ; int retval = my_vsprintf ( str , format , argptr ) ; va_end ( argptr ) ; return retval ; }
For "normal" platforms, we use this function taking a variable
 argument list.
For " normal " platforms we use this function taking a variable argument list .