Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_InitSubSystem(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_!InitSubSystem !!!SDL_!InitSubSystem NAME SYNOPSIS DESCRIPTION EXAMPLES RETURN VALUE SEE ALSO ---- !!NAME SDL_!InitSubSystem- Initialize subsystems !!SYNOPSIS __#include __ __int SDL_!InitSubSystem__(__Uint32 flags__); !!DESCRIPTION After SDL has been initialized with __SDL_Init__ you may initialize uninitialized subsystems with __SDL_!InitSubSystem__. The __flags__ parameter is the same as that used in __SDL_Init__. !!EXAMPLES /* Seperating Joystick and Video initialization. */ SDL_Init(SDL_INIT_VIDEO); . . SDL_!SetVideoMode(640, 480, 16, SDL_DOUBLEBUF|SDL_FULLSCREEN); . /* Do Some Video stuff */ . . /* Initialize the joystick subsystem */ SDL_!InitSubSystem(SDL_INIT_JOYSTICK); /* Do some stuff with video and joystick */ . . . /* Shut them both down */ SDL_Quit(); !!RETURN VALUE Returns __-1__ on an error or __0__ on success. !!SEE ALSO __SDL_Init__, __SDL_Quit__, __SDL_!QuitSubSystem__ ----
One page links to
SDL_InitSubSystem(3)
:
SDLManPages
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.