SDL_isxdigit(3)
π SDL_isxdigit(3) π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the group chat, where we're checking whether a character is a hexadecimal digit β¨ it's giving "is this a 0-9 or an A-F situation" and honestly? iconic. no cap. π
β¨ NAME β¨
SDL_isxdigit β report if a character is a hexadecimal digit π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_stdinc.h>
int SDL_isxdigit(int x);
πΈ DESCRIPTION πΈ
WARNING: regardless of whatever the system locale is doing, this function will only treat ASCII values'A'through'F','a'through'f', and'0'through'9', as true. that's it. that's the whole guest list. π«π
so like, don't come in here expecting locale-aware behaviour, because she does not know her. strictly ASCII, strictly those ranges, 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. simple as. slay. β¨
π§ THREAD SAFETY π§
it is safe to call this function from any thread. go wild, multithreaded queen π
π AVAILABILITY π
this function has been available since SDL 3.2.0 β she's been here, she's been thriving, main character energy from day one π
mwah π thanks for reading, bestie β this lil page came to you from Simple Directmedia Layer, version SDL 3.4.18. now go hex-decode something and make me proud π
π¦ 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