mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
initial import
This commit is contained in:
15
manual/examples/atexit.c
Normal file
15
manual/examples/atexit.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void
|
||||
bye (void)
|
||||
{
|
||||
puts ("Goodbye, cruel world....");
|
||||
}
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
atexit (bye);
|
||||
exit (EXIT_SUCCESS);
|
||||
}
|
||||
Reference in New Issue
Block a user