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()