summaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/atexit.h
blob: 44a928126261a225ebc63b860704b0e84d8e16af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 *	%G% (UofMD) %D%
 */

#define	ATEXIT_SIZE 32	/* must be at least 32 to guarantee ANSI conformance */

struct atexit {
	struct	atexit *next;		/* next in list */
	int	ind;			/* next index in this table */
	void	(*fns[ATEXIT_SIZE])();	/* the table itself */
};

struct atexit *__atexit;	/* points to head of LIFO stack */