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 by SDL_Init(); see SDL_Init for 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