DOKK / manpages / debian 13 / libsdl3-doc / SDL_QuitSubSystem.3.en
SDL_QuitSubSystem(3) SDL3 FUNCTIONS SDL_QuitSubSystem(3)

SDL_QuitSubSystem - Shut down specific SDL subsystems.

Defined in SDL3/SDL_init.h

#include "SDL3/SDL.h"
void SDL_QuitSubSystem(SDL_InitFlags flags);

You still need to call SDL_Quit () even if you close all open subsystems with SDL_QuitSubSystem ().

any of the flags used by SDL_Init (); see SDL_Init
for details.

This function is available since SDL 3.2.0.

(3), SDL_InitSubSystem(3), (3), SDL_Quit(3)

SDL 3.2.10 Simple Directmedia Layer