NO_SIGNAL_HANDLERS


Description:

[ Version ( since = "2.0.4" ) ]
[ CCode ( cname = "SDL_HINT_NO_SIGNAL_HANDLERS" ) ]
public const string NO_SIGNAL_HANDLERS

A hint that specifies not to catch the SIGINT or SIGTERM signals.

The variable can be set to the following values:

  • "0" - SDL will install a SIGINT and SIGTERM handler, and when it

    catches a signal, convert it into an SDL_QUIT event

  • "1" - SDL will not install a signal handler at all

By default SDL installs a SIGINT and SIGTERM handler, and when it catches a signal, converts it into an SDL_QUIT event.


Namespace: SDL.Hint
Package: sdl2