Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_Quit(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_Quit !!!SDL_Quit NAME SYNOPSIS DESCRIPTION SEE ALSO ---- !!NAME SDL_Quit- Shut down SDL !!SYNOPSIS __#include __ __void SDL_Quit__(__void__); !!DESCRIPTION __SDL_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 code !!SEE ALSO __SDL_!QuitSubsystem__, __SDL_Init__ ----
One page links to
SDL_Quit(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.