SDL Wiki
(This function is part of SDL_net, a separate library from SDL.)

SDLNet_Quit

Deinitialize the SDL_net library.

Header File

Defined in <SDL3_net/SDL_net.h>

Syntax

void SDLNet_Quit(void);

Remarks

This must be called when done with the library, probably at the end of your program.

It is safe to call this multiple times; the library will only deinitialize once, when this function is called the same number of times as SDLNet_Init was successfully called.

Once you have successfully deinitialized the library, it is safe to call SDLNet_Init to reinitialize it for further use.

Thread Safety

It is safe to call this function from any thread.

Version

This function is available since SDL_Net 3.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategorySDLNet


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.