...
- call the
signal()
function to reinstall a signal handler - unconditionally modify a
volatile sig_atomic_t
variable (as modification to this type is atomic) - call the
_Exit()
function to immediately terminate program execution - use a function from the extremely small subset of library functions listed in your
signal()
documentation as async-safe
This is sometimes referred to as 'asynchronous-signal safe'.
Wiki Markup |
---|
*free-standing environment* \[[Banahan 03|AA. C References#Banahan 03]\] An environment without the C standard libraries. Common for stand-alone programs, such as operating systems or firmware. |
...