repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
[glibc.git]
/
manual
/
examples
/
atexit.c
blob
42bba71126261684e324ea91a4c116d296f5dd00
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
void
5
bye
(
void
)
6
{
7
puts
(
"Goodbye, cruel world...."
);
8
}
9
10
int
11
main
(
void
)
12
{
13
atexit
(
bye
);
14
exit
(
EXIT_SUCCESS
);
15
}