SDL_PRIs64(3)
π SDL_PRIs64(3) β from the SDL3 FUNCTIONS manual π
okay bestie, welcome to the manual page for SDL_PRIs64. It's a macro. It's cute. It's giving printf energy. Let's go. β¨
π NAME π
SDL_PRIs64 β a printf-formatting string for an Sint64 value. That's the whole job, and she does it flawlessly. π
β¨ SYNOPSIS β¨
okay so you get it in your code like this, no cap:
#include <SDL3/SDL_stdinc.h>
#define SDL_PRIs64 "lld"
π¦ DESCRIPTION π¦
Use it like this, bestie:
SDL_Log("There are %" SDL_PRIs64 " bottles of beer on the wall.", bottles);
Like, the way that % and the macro and the string all hold hands? Obsessed. ππ It's the printf-formatting string for an Sint64 value, so you pop it into your format string and let it slay.
πΈ AVAILABILITY πΈ
This macro is available since SDL 3.2.0. Periodt. π
β with love from the Simple Directmedia Layer girlies π SDL 3.4.18, page SDL_PRIs64(3), and the footer didn't give a date so I'm not making one up, fr fr. π«Ά
π¦ 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