Linux_Signals_Cheat_Sheet
Linux_Signals_Cheat_Sheet
Signals are software interrupts sent to a process to notify it of various events such as termination, interrupts, alarms, etc.
|-----------|--------|------------------------------------|-------------------------------------|
- Use SIGALRM: When you want to trigger an action after a specific time using alarm().
- Use SIGUSR1 / SIGUSR2: For custom communication between parent-child or other processes.
Useful Functions