Docs » Autodocs » dos.library » InternalUnLoadSeg
InternalUnLoadSeg -- Unloads a seglist loaded with InternalLoadSeg() (V36)
success = InternalUnLoadSeg(seglist,FreeFunc) D0 D1 A1 BOOL InternalUnLoadSeg(BPTR,void (*)(STRPTR,ULONG))
Unloads a seglist using freefunc to free segments. Freefunc is called as for InternalLoadSeg. NOTE: will call Close() for overlaid seglists.
seglist - Seglist to be unloaded FreeFunc - Function called to free memory
success - returns whether everything went OK (since this may close files). Also returns FALSE if seglist was NULL.
Really should use tags
LoadSeg(), UnLoadSeg(), InternalLoadSeg(), NewUnLoadSeg, Close()
|