Query: sdl_quit
OS: suse
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SDL_Quit(3) SDL API Reference SDL_Quit(3)NAMESDL_Quit - Shut down SDLSYNOPSIS#include "SDL.h" void SDL_Quit(void);DESCRIPTIONSDL_Quit shuts down all SDL subsystems and frees the resources allocated to them. This should always be called before you exit. For the sake of simplicity you can set SDL_Quit as your atexit call, like: SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO); atexit(SDL_Quit); . . Note: While using atexit maybe be fine for small programs, more advanced users should shut down SDL in their own cleanup code. Plus, using atexit in a library is a sure way to crash dynamically loaded codeSEE ALSOSDL_QuitSubsystem, SDL_InitSDLTue 11 Sep 2001, 23:00 SDL_Quit(3)
| Related Man Pages |
|---|
| sdl_setvideomode(3) - redhat |
| sdl_wasinit(3) - redhat |
| sdl_cdopen(3) - centos |
| sdl_wasinit(3) - centos |
| sdl::cdtrack(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Terminal emulator from scratch. |
| PLaying a sound file with SDL - C++ |
| Launching mplayer from within Links2 using a shell script |