2 Copyright © 1995-2007, 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 *****************************************************************************/
51 et
= FindChild((ULONG
)tid
);
54 Remove((struct Node
*)et
);
57 FreeVec(et
->et_Result2
);
60 FreeVec(IntETask(et
)->iet_Me
);