SDL Wiki
(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)


Print to an SDL_RWops data stream.


size_t SDL_RWvprintf(SDL_RWops *context, SDL_PRINTF_FORMAT_STRING const char *fmt, va_list ap) SDL_PRINTF_VARARG_FUNCV(2);

Function Parameters

context a pointer to an SDL_RWops structure
fmt a printf() style format string
ap a variable argument list

Return Value

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.


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.