1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* * vim:ts=4:sw=4:expandtab * */ #include <stdlib.h> #include <stdio.h> #include <unistd.h> void statistic() { printf("statistic started\n"); for (;;) { } } void statistic_cleanup() { printf("statistic cleanup\n"); _exit(EXIT_SUCCESS); }