Merge branch 'master' of ssh://sources.redhat.com/git/glibc
[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);