Home | History | Annotate | Download | only in stdlib

Lines Matching refs:atexit

1 /*	$NetBSD: atexit.c,v 1.35 2025/10/18 20:03:33 riastradh Exp $	*/
34 __RCSID("$NetBSD: atexit.c,v 1.35 2025/10/18 20:03:33 riastradh 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
186 * If you want to register an atexit handler that is not tied
187 * to the current shared object, then you must use atexit(3)
198 * Run the list of atexit handlers. If dso is NULL, run all of them,
202 * atexit handler, and rtld cleanup invokes _fini() for DSOs, which
239 /* Restart if new atexit handler was added. */
277 atexit(void (*func)(void))