Skip to content

Instantly share code, notes, and snippets.

View full-sized avatar

Tapas Mishra tapasm2027

View GitHub Profile
@aspyct
aspyct / signal.c
Last active April 10, 2023 21:46
Unix signal handling example in C, SIGINT, SIGALRM, SIGHUP...
View signal.c
/**
* More info?
* a.dotreppe@aspyct.org
* http://aspyct.org
*
* Hope it helps :)
*/
#include <stdio.h>
#include <stdlib.h>