Skip to main content

SDL_IOvprintf

Function SDL_IOvprintf 

Source
pub unsafe extern "C" fn SDL_IOvprintf(
    context: *mut SDL_IOStream,
    fmt: *const c_char,
    ap: *mut __va_list_tag,
) -> usize
Expand description

Print to an SDL_IOStream data stream.

This function does formatted printing to the stream.

Parameter: context a pointer to an SDL_IOStream structure. Parameter: fmt a printf() style format string. Parameter: ap a variable argument list. 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.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_IOprintf See Also: SDL_WriteIO