atexit.h (1114a754ed48485c756c10cf19694db0b43826e7) | atexit.h (50bcce79ff3918bdda9520e0ad631d80df66bbb0) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 23 unchanged lines hidden (view full) --- 32 * 33 * @(#)atexit.h 8.2 (Berkeley) 7/3/94 34 * $FreeBSD$ 35 */ 36 37/* must be at least 32 to guarantee ANSI conformance */ 38#define ATEXIT_SIZE 32 39 | 1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 23 unchanged lines hidden (view full) --- 32 * 33 * @(#)atexit.h 8.2 (Berkeley) 7/3/94 34 * $FreeBSD$ 35 */ 36 37/* must be at least 32 to guarantee ANSI conformance */ 38#define ATEXIT_SIZE 32 39 |
40struct atexit { 41 struct atexit *next; /* next in list */ 42 int ind; /* next index in this table */ 43 void (*fns[ATEXIT_SIZE])(); /* the table itself */ 44}; 45 46extern struct atexit *__atexit; /* points to head of LIFO stack */ | 40void __cxa_finalize(void *dso); |