SDL_Quit(3)

SDL_Quit3

Clean up all initialized subsystems.

Usage

#include "SDL3/SDL.h"

void SDL_Quit(void);

Header file

Defined in SDL3/SDL_init.h

Overview

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.

Releases

12 releases since Debian 3.0 (Woody); the text changed 2 times.

  1. 3.0–5.0
  2. 6.0–12
  3. 13

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.