Penguin
Note: You are viewing an old revision of this page. View the current version.

SDL_WasInit?

SDL_WasInit?

NAME SYNOPSIS DESCRIPTION RETURN VALUE EXAMPLES SEE ALSO


NAME

SDL_WasInit?- Check which subsystems are initialized

SYNOPSIS

#include

Uint32 SDL_WasInit?(Uint32 flags);

DESCRIPTION

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).

RETURN VALUE

SDL_WasInit? returns a bitwised OR'd combination of the initialized subsystems.

EXAMPLES

/* 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

SEE ALSO

SDL_Init, SDL_Subsystem


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.