mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
15 lines
118 B
C
15 lines
118 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
void
|
||
|
fx (void)
|
||
|
{
|
||
|
puts ("At exit fx");
|
||
|
}
|
||
|
|
||
|
void
|
||
|
foo (void)
|
||
|
{
|
||
|
atexit (fx);
|
||
|
}
|