mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +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);
|
||
|
}
|