[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


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