1 /*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)atexit.h 8.2 (Berkeley) 07/03/94 8 */ 9 10 /* must be at least 32 to guarantee ANSI conformance */ 11 #define ATEXIT_SIZE 32 12 13 struct atexit { 14 struct atexit *next; /* next in list */ 15 int ind; /* next index in this table */ 16 void (*fns[ATEXIT_SIZE])(); /* the table itself */ 17 }; 18 19 extern struct atexit *__atexit; /* points to head of LIFO stack */ 20