---
name: "SDL_InitSubSystem"
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_InitSubSystem"
---

# SDL\_InitSubSystem(3)

Compatibility function to initialize the SDL library.

## NAME

SDL\_InitSubSystem - Compatibility function to initialize the SDL library.

## HEADER FILE

Defined in SDL3/SDL\_init.h

## SYNOPSIS

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

**bool SDL\_InitSubSystem(SDL\_InitFlags flags);**

## DESCRIPTION

This function and  **SDL\_Init** () are interchangeable.

## FUNCTION PARAMETERS

- *flags*

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

## RETURN VALUE

Returns true on success or false on failure; call

**SDL\_GetError** () for more information.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_Init**(3)](/SDL_Init/3.md), **•**(3), [**SDL\_Quit**(3)](/SDL_Quit/3.md), **•**(3), [**SDL\_QuitSubSystem**(3)](/SDL_QuitSubSystem/3.md)
