DOKK / manpages / debian 13 / libsdl3-doc / SDL_PRILLx.3.en
SDL_PRILLx(3) SDL3 FUNCTIONS SDL_PRILLx(3)

SDL_PRILLx - A printf-formatting string for an unsignedlonglong value as lower-case hexadecimal.

Defined in SDL3/SDL_stdinc.h

#include "SDL3/SDL.h"
#define SDL_PRILLx SDL_PRILL_PREFIX x"

Use it like this:

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

This macro is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer