SDL_UnsetEnvironmentVariable(3)
π NAME π
SDL_UnsetEnvironmentVariable β bestie, it clears a variable from the environment. bye-bye, variable. π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_stdinc.h>
bool SDL_UnsetEnvironmentVariable(SDL_Environment *env, const char *name);
π FUNCTION PARAMETERS π
envβ the environment you wanna modify, queen. that's the one getting the glow-down.nameβ the name of the variable to unset. like, the actual name-name. π
π¦ RETURN VALUE π¦
Returns true on success or false on failure, no cap. and if it flops? call SDL_GetError() for more information, she'll tell you what went wrong. π
πΈ THREAD SAFETY πΈ
It is safe to call this function from any thread. yes literally any thread, she's chill like that. π«Ά
π AVAILABILITY π
This function is available since SDL 3.2.0. so if you're on something older, sorry babe, it's not giving. π
β SEE ALSO β
SDL_GetEnvironment(3)SDL_CreateEnvironment(3)SDL_GetEnvironmentVariable(3)SDL_GetEnvironmentVariables(3)SDL_SetEnvironmentVariable(3)SDL_UnsetEnvironmentVariable(3)
not her linking to herself in SEE ALSO π main character energy fr fr. anyway, go read the whole environment friend group, they're all iconic. π
and that's the whole page, bestie!! brought to you by Simple Directmedia Layer, version SDL 3.4.18 β mwah, ty for reading, go unset some variables responsibly π β¨π
π¦ 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