Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_Quit - Clean up all initialized subsystems.

Availability

       This function is available since SDL 3.2.0.

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.

Header File

       Defined in SDL3/SDL_init.h

Name

       SDL_Quit - Clean up all initialized subsystems.

See Also

(3), SDL_Init(3), (3), SDL_QuitSubSystem(3)

Simple Directmedia Layer                           SDL 3.2.10                                        SDL_Quit(3)

Synopsis

#include"SDL3/SDL.h"voidSDL_Quit(void);

See Also