Scroll to navigation

SDL_PRISZ_PREFIX(3) SDL3 FUNCTIONS SDL_PRISZ_PREFIX(3)

NAME

SDL_PRISZ_PREFIX - A printf-formatting string prefix for a size_t value.

SYNOPSIS

#include <SDL3/SDL_stdinc.h>
#define SDL_PRISZ_PREFIX "z"

DESCRIPTION

This is just the prefix! You probably actually want SDL_PRISZu, SDL_PRISZx, or SDL_PRISZX instead.

Use it like this:

SDL_Log("There are %" SDL_PRISZ_PREFIX "u bottles of beer on the wall.", bottles);
    

AVAILABILITY

This macro is available since SDL 3.6.0.

SDL 3.5.0 Simple Directmedia Layer