142096Sbostic /*- 2*61180Sbostic * Copyright (c) 1990, 1993 3*61180Sbostic * The Regents of the University of California. All rights reserved. 442096Sbostic * 542096Sbostic * %sccs.include.redist.c% 642096Sbostic * 7*61180Sbostic * @(#)atexit.h 8.1 (Berkeley) 06/04/93 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 1942096Sbostic struct atexit *__atexit; /* points to head of LIFO stack */ 20