Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
[glibc.git] / manual / examples / atexit.c
blob42bba71126261684e324ea91a4c116d296f5dd00
1 #include <stdio.h>
2 #include <stdlib.h>
4 void
5 bye (void)
7 puts ("Goodbye, cruel world....");
10 int
11 main (void)
13 atexit (bye);
14 exit (EXIT_SUCCESS);