1 .TH "SDL_Init" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference"
3 SDL_Init \- Initializes SDL
8 \fBint \fBSDL_Init\fP\fR(\fBUint32 flags\fR);
11 Initializes SDL\&. This should be called before all other SDL functions\&. The \fBflags\fR parameter specifies what part(s) of SDL to initialize\&.
14 Initializes the \fItimer\fR subsystem\&.
17 Initializes the \fIaudio\fR subsystem\&.
20 Initializes the \fIvideo\fR subsystem\&.
23 Initializes the \fIcdrom\fR subsystem\&.
25 \fBSDL_INIT_JOYSTICK\fP
26 Initializes the \fIjoystick\fR subsystem\&.
28 \fBSDL_INIT_EVERYTHING\fP
29 Initialize all of the above\&.
31 \fBSDL_INIT_NOPARACHUTE\fP
32 Prevents SDL from catching fatal signals\&.
34 \fBSDL_INIT_EVENTTHREAD\fP
37 Returns \fB-1\fR on an error or \fB0\fR on success\&.
40 \fI\fBSDL_Quit\fP\fR, \fI\fBSDL_InitSubSystem\fP\fR
41 .\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00