date and time created 90/05/15 22:31:07 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 16 May 1990 13:31:07 +0000 (05:31 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 16 May 1990 13:31:07 +0000 (05:31 -0800)
SCCS-vsn: lib/libc/stdlib/atexit.h 5.1

usr/src/lib/libc/stdlib/atexit.h [new file with mode: 0644]

diff --git a/usr/src/lib/libc/stdlib/atexit.h b/usr/src/lib/libc/stdlib/atexit.h
new file mode 100644 (file)
index 0000000..6133353
--- /dev/null
@@ -0,0 +1,19 @@
+/*-
+ * Copyright (c) 1990 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ *
+ *     @(#)atexit.h    5.1 (Berkeley) %G%
+ */
+
+/* must be at least 32 to guarantee ANSI conformance */
+#define        ATEXIT_SIZE     32
+
+struct atexit {
+       struct atexit *next;            /* next in list */
+       int ind;                        /* next index in this table */
+       void (*fns[ATEXIT_SIZE])();     /* the table itself */
+};
+
+struct atexit *__atexit;       /* points to head of LIFO stack */