SDL_IOvprintf(3)
| SDL_IOvprintf(3) | SDL3 FUNCTIONS | SDL_IOvprintf(3) |
NAME
SDL_IOvprintf - Print to an SDL_IOStream data stream.
SYNOPSIS
#include <SDL3/SDL_iostream.h>
size_t SDL_IOvprintf(SDL_IOStream *context, const char *fmt, va_list ap);
DESCRIPTION
This function does formatted printing to the stream.
FUNCTION PARAMETERS
- context
- a pointer to an SDL_IOStream structure.
- fmt
- a printf() style format string.
- ap
- a variable argument list.
RETURN VALUE
Returns the number of bytes written or 0 on failure; call SDL_GetError() for more information.
THREAD SAFETY
Do not use the same SDL_IOStream from two threads at once.
AVAILABILITY
This function is available since SDL 3.2.0.
SEE ALSO
| SDL 3.4.12 | Simple Directmedia Layer |
