2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
9 #include <proto/exec.h>
11 #include <exec/types.h>
12 #include "dos_intern.h"
14 static AROS_UFH3(void, FreeFunc
,
15 AROS_UFHA(APTR
, buffer
, A1
),
16 AROS_UFHA(ULONG
, length
, D0
),
17 AROS_UFHA(struct ExecBase
*, SysBase
, A6
)
22 FreeMem(buffer
, length
);
27 /*****************************************************************************
30 #include <proto/dos.h>
32 AROS_LH1(BOOL
, UnLoadSeg
,
35 AROS_LHA(BPTR
, seglist
, D1
),
38 struct DosLibrary
*, DOSBase
, 26, Dos
)
41 Free a segment list allocated with LoadSeg().
44 seglist - The segment list.
47 success = returns whether everything went ok. Returns FALSE if
60 *****************************************************************************/
66 return InternalUnLoadSeg(seglist
, FreeFunc
);