1#include <stdio.h>
2#include <stdlib.h>
3
4void
5fx (void)
6{
7 puts (s: "At exit fx");
8}
9
10void
11foo (void)
12{
13 atexit (func: fx);
14}
15

source code of glibc/dlfcn/bug-atexit2-lib.c