This is really a rather specialised case. It is not a substitute for proper error checking and handling.



#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>
#include <signal.h>
...