mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-15 01:21: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);
|
||
|
}
|