SDL_QuitSubSystem(3)
β¨ NAME β¨
SDL_QuitSubSystem β shut down specific SDL subsystems. This one is from the SDL3 FUNCTIONS manual, bestie. π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_init.h>
void SDL_QuitSubSystem(SDL_InitFlags flags);
π¦ DESCRIPTION π¦
Okay so this is your βclose just these subsystemsβ button. But β and this is the important part β even if you close every open subsystem with SDL_QuitSubSystem(), you still have to call SDL_Quit(). Like, SDL_QuitSubSystem() does not get you out of SDL_Quit(). No cap. π
π FUNCTION PARAMETERS π
flagsβ any of the flags used bySDL_Init(); seeSDL_Initfor details. That's the whole parameter, bestie. β¨
π THREAD SAFETY π
This function is not thread safe. Do not be brave with threads here. π
π AVAILABILITY π
This function is available since SDL 3.2.0. Periodt. π
π«Ά SEE ALSO π«Ά
source: Simple Directmedia Layer β’ version: SDL 3.4.18 β’ page: SDL_QuitSubSystem(3) β and the date? this footer didn't have one, so we're not making one up, bestie ππ 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