mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 11:43:34 +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);
|
||
|
}
|