SDL_PRILLd(3)
SDL_PRILLd(3) β okay bestie, this one is from the SDL3 FUNCTIONS manual and it's literally just a tiny macro that knows how to format a long long. No cap. π
β¨ NAME β¨
SDL_PRILLdβ a printf-formatting string for along longvalue. π«Ά
π SYNOPSIS π
#include <SDL3/SDL_stdinc.h>
#define SDL_PRILLd SDL_PRILL_PREFIX "d"
πΈ DESCRIPTION πΈ
Use it like this, bestie:
SDL_Log("There are %" SDL_PRILLd " bottles of beer on the wall.", bottles);
That's the whole move: you drop SDL_PRILLd into your format string when you're dealing with a long long value. β¨
π« AVAILABILITY π«
This macro is available since SDL 3.2.0. Periodt. π₯
cute sign-off time: this page comes from Simple Directmedia Layer, version SDL 3.4.18, and it's the SDL_PRILLd(3) page. There's no date in the footer, just those deets. πβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms