Penguin
Blame: SDL_WasInit(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_WasInit(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!WasInit
2 !!!SDL_!WasInit
1 perry 3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 EXAMPLES
8 SEE ALSO
9 ----
10 !!NAME
11
12
2 perry 13 SDL_!WasInit- Check which subsystems are initialized
1 perry 14 !!SYNOPSIS
15
16
17 __#include __
18
19
2 perry 20 __Uint32 SDL_!WasInit__(__Uint32 flags__);
1 perry 21 !!DESCRIPTION
22
23
2 perry 24 __SDL_!WasInit__ allows you to see which SDL subsytems
1 perry 25 have been ''initialized''. __flags__ is a bitwise OR'd
26 combination of the subsystems you wish to check (see
27 __SDL_Init__ for a list of subsystem flags).
28 !!RETURN VALUE
29
30
2 perry 31 __SDL_!WasInit__ returns a bitwised OR'd combination of
1 perry 32 the initialized subsystems.
33 !!EXAMPLES
34
35
2 perry 36 /* Here are several ways you can use SDL_!WasInit() */
1 perry 37 /* Get init data on all the subsystems */
38 Uint32 subsystem_init;
2 perry 39 subsystem_init=SDL_!WasInit(SDL_INIT_EVERYTHING);
1 perry 40 if(subsystem_init
41 !!SEE ALSO
42
43
44 __SDL_Init__, __SDL_Subsystem__
45 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.