SDL_Quit - Man Page
Clean up all initialized subsystems.
Header File
Defined in SDL3/SDL_init.h
Synopsis
#include "SDL3/SDL.h" void SDL_Quit(void);
Description
You should call this function even if you have already shutdown each initialized subsystem with SDL_QuitSubSystem (). It is safe to call this function even in the case of errors in initialization.
You can use this function with atexit() to ensure that it is run when your application is shutdown, but it is not wise to do this from a library or other dynamically loaded code.
Availability
This function is available since SDL 3.2.0.
See Also
·(3), SDL_Init(3), ·(3), SDL_QuitSubSystem(3)
Referenced By
SDL_Init(3), SDL_InitFlags.3type(3), SDL_InitSubSystem(3), SDL_QuitSubSystem(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS