Penguin
Blame: SDL_WasInit(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_WasInit(3) version 2 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 perry 1 SDL_!WasInit
2 !!!SDL_!WasInit
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 EXAMPLES
8 SEE ALSO
9 ----
10 !!NAME
11
12
13 SDL_!WasInit- Check which subsystems are initialized
14 !!SYNOPSIS
15
16
17 __#include __
18
19
20 __Uint32 SDL_!WasInit__(__Uint32 flags__);
21 !!DESCRIPTION
22
23
24 __SDL_!WasInit__ allows you to see which SDL subsytems
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
31 __SDL_!WasInit__ returns a bitwised OR'd combination of
32 the initialized subsystems.
33 !!EXAMPLES
34
35
36 /* Here are several ways you can use SDL_!WasInit() */
37 /* Get init data on all the subsystems */
38 Uint32 subsystem_init;
39 subsystem_init=SDL_!WasInit(SDL_INIT_EVERYTHING);
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.