SDL_IOvprintf - Man Page

Name

SDL_IOvprintf — Print to an SDL_IOStream
data stream.

Header File

Defined in SDL3/SDL_iostream.h

Synopsis

#include "SDL3/SDL.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

This function is not thread safe.

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_IOprintf(3), ·(3), SDL_WriteIO(3)

Referenced By

SDL_IOprintf(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS