Print to an SDL_IOStream data stream.
Defined in <SDL3/SDL_iostream.h>
size_t SDL_IOprintf(SDL_IOStream *context, const char *fmt, ...);
SDL_IOStream * | context | a pointer to an SDL_IOStream structure. |
const char * | fmt | a printf() style format string. |
... | ... | additional parameters matching % tokens in the fmt string, if any. |
(size_t) Returns the number of bytes written or 0 on failure; call SDL_GetError() for more information.
This function does formatted printing to the stream.
This function is available since SDL 3.1.3.