Man page - sdl_wasinit(3)

Packages contains this manual

Manual

SDL_WasInit

NAME
HEADER FILE
SYNOPSIS
FUNCTION PARAMETERS
RETURN VALUE
AVAILABILITY
SEE ALSO

NAME

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

HEADER FILE

Defined in SDL3/SDL_init.h

SYNOPSIS

#include "SDL3/SDL.h"

SDL_InitFlags SDL_WasInit(SDL_InitFlags flags);

FUNCTION PARAMETERS

flags

any of the flags used by SDL_Init (); see SDL_Init

for details.

RETURN VALUE

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

AVAILABILITY

This function is available since SDL 3.2.0.

SEE ALSO

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