Penguin
Blame: SDL_InitSubSystem(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_InitSubSystem(3) version 2 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 perry 1 SDL_!InitSubSystem
2 !!!SDL_!InitSubSystem
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 EXAMPLES
7 RETURN VALUE
8 SEE ALSO
9 ----
10 !!NAME
11
12
13 SDL_!InitSubSystem- Initialize subsystems
14 !!SYNOPSIS
15
16
17 __#include __
18
19
20 __int SDL_!InitSubSystem__(__Uint32
21 flags__);
22 !!DESCRIPTION
23
24
25 After SDL has been initialized with __SDL_Init__ you may
26 initialize uninitialized subsystems with
27 __SDL_!InitSubSystem__. The __flags__ parameter is the
28 same as that used in __SDL_Init__.
29 !!EXAMPLES
30
31
32 /* Seperating Joystick and Video initialization. */
33 SDL_Init(SDL_INIT_VIDEO);
34 .
35 .
36 SDL_!SetVideoMode(640, 480, 16, SDL_DOUBLEBUF|SDL_FULLSCREEN);
37 .
38 /* Do Some Video stuff */
39 .
40 .
41 /* Initialize the joystick subsystem */
42 SDL_!InitSubSystem(SDL_INIT_JOYSTICK);
43 /* Do some stuff with video and joystick */
44 .
45 .
46 .
47 /* Shut them both down */
48 SDL_Quit();
49 !!RETURN VALUE
50
51
52 Returns __-1__ on an error or __0__ on
53 success.
54 !!SEE ALSO
55
56
57 __SDL_Init__, __SDL_Quit__,
58 __SDL_!QuitSubSystem__
59 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.