2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
7 #include "__exitfunc.h"
9 /*****************************************************************************
16 void (*func
)(int, void *),
35 ******************************************************************************/
37 struct AtExitNode
*aen
= malloc(sizeof(*aen
));
41 aen
->node
.ln_Type
= AEN_PTR
;
42 aen
->func
.fptr
= func
;
45 return __addexitfunc(aen
);