Print to an SDL_RWops data stream.
size_t SDL_RWprintf(SDL_RWops *context, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
context | a pointer to an SDL_RWops structure |
fmt | a printf() style format string |
... | additional parameters matching % tokens in the fmt string, if any |
Returns the number of bytes written, or 0 on error; call SDL_GetError() for more information.
This function does formatted printing to the stream.
This function is available since SDL 3.0.0.