Below I quote a simple implementation in C that you can use in your applications for the management of software signals in POSIX operating systems (such as the GNU/Linux). Of course, this implementation comes from a personal project of the past, especially where I grappled with system programming. You can modify this implementation to work best with your needs.
Tag Archive: signal handler
Implementation of functions in C for software signal management in POSIX operating systems – Version 1.
July 15, 2010