Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 853 Bytes

InternalUnLoadSeg.md

File metadata and controls

36 lines (23 loc) · 853 Bytes

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