142096Sbostic /*- 261180Sbostic * Copyright (c) 1990, 1993 361180Sbostic * The Regents of the University of California. All rights reserved. 442096Sbostic * 542096Sbostic * %sccs.include.redist.c% 642096Sbostic * 7*67486Smckusick * @(#)atexit.h 8.2 (Berkeley) 07/03/94 842096Sbostic */ 942096Sbostic 1042096Sbostic /* must be at least 32 to guarantee ANSI conformance */ 1142096Sbostic #define ATEXIT_SIZE 32 1242096Sbostic 1342096Sbostic struct atexit { 1442096Sbostic struct atexit *next; /* next in list */ 1542096Sbostic int ind; /* next index in this table */ 1642096Sbostic void (*fns[ATEXIT_SIZE])(); /* the table itself */ 1742096Sbostic }; 1842096Sbostic 19*67486Smckusick extern struct atexit *__atexit; /* points to head of LIFO stack */ 20