SDL_WasInit?
NAME SYNOPSIS DESCRIPTION RETURN VALUE EXAMPLES SEE ALSO
SDL_WasInit?- Check which subsystems are initialized
#include
Uint32 SDL_WasInit?(Uint32 flags);
SDL_WasInit? allows you to see which SDL subsytems have been initialized. flags is a bitwise OR'd combination of the subsystems you wish to check (see SDL_Init for a list of subsystem flags).
SDL_WasInit? returns a bitwised OR'd combination of the initialized subsystems.
/* Here are several ways you can use SDL_WasInit?() / / Get init data on all the subsystems */ Uint32 subsystem_init; subsystem_init=SDL_WasInit?(SDL_INIT_EVERYTHING); if(subsystem_init
SDL_Init, SDL_Subsystem
One page links to SDL_WasInit(3):