---
name: "SDL_QuitSubSystem"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_QuitSubSystem"
---

# SDL\_QuitSubSystem(3)

Shut down specific SDL subsystems.

## NAME

SDL\_QuitSubSystem - Shut down specific SDL subsystems.

## HEADER FILE

Defined in SDL3/SDL\_init.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_QuitSubSystem(SDL\_InitFlags flags);**

## DESCRIPTION

You still need to call  **SDL\_Quit** () even if you close all open subsystems with  **SDL\_QuitSubSystem** ().

## FUNCTION PARAMETERS

- *flags*

  any of the flags used by  **SDL\_Init** (); see  **SDL\_Init**\
    for details.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_InitSubSystem**(3)](/SDL_InitSubSystem/3.md), **•**(3), [**SDL\_Quit**(3)](/SDL_Quit/3.md)
