DOKK / manpages / debian 13 / libsdl3-doc / SDL_WasInit.3.en
SDL_WasInit(3) SDL3 FUNCTIONS SDL_WasInit(3)

SDL_WasInit - Get a mask of the specified subsystems which are currently initialized.

Defined in SDL3/SDL_init.h

#include "SDL3/SDL.h"
SDL_InitFlags SDL_WasInit(SDL_InitFlags flags);

any of the flags used by SDL_Init (); see SDL_Init
for details.

( SDL_InitFlags ) Returns a mask of all initialized subsystems if flags is 0, otherwise it returns the initialization status of the specified subsystems.

This function is available since SDL 3.2.0.

(3), SDL_Init(3), (3), SDL_InitSubSystem(3)

SDL 3.2.10 Simple Directmedia Layer