mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 05:20:06 +00: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);
|
||
|
}
|