Lines Matching defs:atexit
1 /* $NetBSD: atexit.c,v 1.32 2017/11/06 14:26:03 joerg Exp $ */
34 __RCSID("$NetBSD: atexit.c,v 1.32 2017/11/06 14:26:03 joerg Exp $");
42 #include "atexit.h"
70 * Stack of atexit handlers. Handlers must be called in the opposite
83 * Allocate an atexit handler descriptor. If "dso" is NULL, it indicates
84 * a normal atexit handler, which must be allocated from the static pool,
132 * Register an atexit routine. This is suitable either for a cxa_atexit
133 * or normal atexit type handler. The __cxa_atexit() name and arguments
183 * Run the list of atexit handlers. If dso is NULL, run all of them,
187 * atexit handler, and rtld cleanup invokes _fini() for DSOs, which
224 /* Restart if new atexit handler was added. */
262 atexit(void (*func)(void))