Articles
Forums
Downloads
Autodocs
Home
/
Autodocs
/
dos.library
NAME
InternalUnLoadSeg
Unloads a seglist loaded with
InternalLoadSeg()
(V36)
SYNOPSIS
success = InternalUnLoadSeg(seglist,FreeFunc)
D0 D1 A1
BOOL InternalUnLoadSeg(BPTR,void (*)(STRPTR,ULONG))
FUNCTION
Unloads a 'seglist' using 'FreeFunc' to free segments. 'FreeFunc' is called as for
InternalLoadSeg()
. NOTE: will call
Close()
for overlaid seglists.
INPUTS
seglist
Seglist to be unloaded
FreeFunc
Function called to free memory
RESULT
success
returns whether everything went OK (since this may close files). Also returns FALSE if seglist was NULL.
BUGS
Really should use tags
SEE ALSO
LoadSeg()
,
UnLoadSeg()
,
InternalLoadSeg()
, NewUnLoadSeg(),
Close()