2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include "__exitfunc.h"
8 /*****************************************************************************
19 Registers the given function to be called at normal
23 func - function to be called.
38 ******************************************************************************/
40 struct AtExitNode
*aen
= malloc(sizeof(*aen
));
44 aen
->node
.ln_Type
= AEN_VOID
;
45 aen
->func
.fvoid
= func
;
47 return __addexitfunc(aen
);