SDL_isupper(3)
π SDL_isupper(3) β the SDL3 FUNCTIONS girlies know π
okay bestie, welcome to the SDL_isupper page, part of the SDL3 functions lineup π she's small, she's simple, she's lowkey iconic.
β¨ NAME β¨
SDL_isupper β report if a character is upper case. that's it. that's the whole job. π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_stdinc.h>
int SDL_isupper(int x);
π DESCRIPTION π
okay so, real talk for a sec, because this part matters:
WARNING: regardless of system locale, this will only treat ASCII values'A'through'Z'as true.
like. no cap. she does not care what your locale is doing, she does not care about your fancy accented capitals, she is checking exactly 'A' through 'Z' and nothing else. that's her whole personality and honestly? respect. π€
π¦ FUNCTION PARAMETERS π¦
xβ the character value you wanna check. that's the one. that's the input. π«Ά
β RETURN VALUE β
returns non-zero if x falls within the character class, and zero otherwise. so like, truthy/falsy energy but in C. if (SDL_isupper(x)) and you're good to go β¨
π§ THREAD SAFETY π§
she's safe to call from any thread. go wild. no locking, no drama, no "wait your turn". main character energy across every thread fr fr ππ
π AVAILABILITY π
this function has been available since SDL 3.2.0. so if you're on anything older, no she's not there yet, sorry babe π
and that's the whole page!! every detail accounted for, nothing skipped, we ate and left no crumbs π
Simple Directmedia Layer β SDL 3.4.18 β that's the source and version, and SDL_isupper(3) is your girl. thanks for coming to my TED talk, ily, go uppercase something π
β¨π
π¦ 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