2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Free child task information on a dead child.
7 #include "exec_intern.h"
9 #include <proto/exec.h>
11 /*****************************************************************************
15 AROS_LH1(void, ChildFree
,
18 AROS_LHA(APTR
, tid
, D0
),
21 struct ExecBase
*, SysBase
, 123, Exec
)
24 Clean up after a child process.
27 tid -- Id of the child to clean up. This is not the same as
31 The child will be freed.
34 Calling ChildFree() on a running child is likely to crash your
45 *****************************************************************************/
48 AROS_LIBBASE_EXT_DECL(struct ExecBase
*,SysBase
)
52 et
= FindChild((ULONG
)tid
);
55 Remove((struct Node
*)et
);
58 FreeVec(et
->et_Result2
);
61 FreeVec(IntETask(et
)->iet_Me
);