summaryrefslogtreecommitdiffstats
path: root/usr/klibc/atexit.h
blob: 50186894d48d5928583ff9e2b6b2a1db0eb0c9a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * atexit.h
 *
 * atexit()/on_exit() internal definitions
 */

#ifndef ATEXIT_H
#define ATEXIT_H

struct atexit {
	void (*fctn) (int, void *);
	void *arg;		/* on_exit() parameter */
	struct atexit *next;
};

extern struct atexit *__atexit_list;

#endif				/* ATEXIT_H */