SDL_IOprintf

Print to an SDL_IOStream data stream.

This function does formatted printing to the stream.

extern (C) nothrow @nogc extern
size_t
SDL_IOprintf
(,
const(char)* fmt
,)

Parameters

context SDL_IOStream*

a pointer to an SDL_IOStream structure.

fmt const(char)*

a printf() style format string. ... = additional parameters matching % tokens in the fmt string, if any.

Return Value

Type: size_t

The number of bytes written or 0 on failure; call SDL_GetError() for more information.

Threadsafety: This function is not thread safe.

See Also

SDL_IOvprintf SDL_WriteIO

Meta