SDL_isgraph(3)
β¨ SDL_isgraph β¨
okay bestie, welcome to the SDL_isgraph page from the SDL3 FUNCTIONS manual π she's a lil function with a big job and honestly? we're gonna get through this together π«Ά
πΈ NAME πΈ
SDL_isgraph β reports whether a character is any "printable" character except space β¨
π SYNOPSIS π
#include <SDL3/SDL_stdinc.h>
int SDL_isgraph(int x);
π DESCRIPTION π
okay so first things first, bestie, real talk: "printable" here has a definition that goes ALL the way back to text terminals from the literal dawn of computing π which means this is kind of a special-case function, and it is not suitable for Unicode (or honestly most any) text management. it's giving vintage. it's giving retro terminal core. it's just not built for your fancy modern text situation, no cap π
WARNING: regardless of system locale, this is equivalent to (SDL_isprint(x)) && ((x) != ' '). that's it. that's the whole vibe check. periodt π
π¦ FUNCTION PARAMETERS π¦
xβ the character value you wanna check, bestie π
β RETURN VALUE β
returns non-zero if x falls within the character class, and zero otherwise. so like... yes or no energy, but make it int π
π§ THREAD SAFETY π§
it is safe to call this function from any thread. she's multithread-friendly, she's low maintenance, she's an icon πβ¨
π AVAILABILITY π
this function is available since SDL 3.2.0 π
π SEE ALSO π
and that's the whole page, bestie!! go forth and check your characters π
Simple Directmedia Layer β SDL 3.4.18 β SDL_isgraph(3) π«Ά mwah, stay iconic β¨
π¦ 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