Man page - sdl_ioprintf(3)

Packages contas this manual

Manual

SDL_IOprintf(3) SDL3 FUNCTIONS SDL_IOprintf(3)

SDL_IOprintf - Print to an SDL_IOStream
data stream.

Defined in SDL3/SDL_iostream.h

#include "SDL3/SDL.h"
size_t SDL_IOprintf(SDL_IOStream *context, const char *fmt, ...);

This function does formatted printing to the stream.

a pointer to an SDL_IOStream
structure.
a printf() style format string.
...
additional parameters matching % tokens in the fmt string, if any.

Returns the number of bytes written or 0 on failure; call

SDL_GetError () for more information.

This function is not thread safe.

This function is available since SDL 3.2.0.

(3), SDL_IOvprintf(3), (3), SDL_WriteIO(3)

SDL 3.2.10 Simple Directmedia Layer