Commit | Line | Data |
---|---|---|
38940ad1 KB |
1 | /*- |
2 | * Copyright (c) 1990 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * %sccs.include.redist.c% | |
6 | * | |
7 | * @(#)atexit.h 5.1 (Berkeley) %G% | |
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 | struct atexit *__atexit; /* points to head of LIFO stack */ |