Docs » Autodocs » dos.library » UnLoadSeg
UnLoadSeg -- Unload a seglist previously loaded by LoadSeg()
success = UnLoadSeg( seglist ) D0 D1 BOOL UnLoadSeg(BPTR)
Unload a seglist loaded by LoadSeg(). 'seglist' may be zero. Overlaid segments will have all needed cleanup done, including closing files.
seglist - BCPL pointer to a segment identifier
success - returns 0 if a NULL seglist was passed or if it failed to close an overlay file. NOTE: this function returned a random value before V36!
LoadSeg(), InternalLoadSeg(), InternalUnLoadSeg()
|