How to catch the kill signals sent by the
kill command in C programs on Linux?
For example, I have a daemon
progd running, and will kill it by:
The question is how to catch the signal sent by the
kill command and response to it in the
progd program implemented in C on Linux?