Skip to content

Instantly share code, notes, and snippets.

View tapasm2027's full-sized avatar

Tapas Mishra tapasm2027

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