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

The first four code vectors of a library must be the following entries:

    is the entry point called by the function OpenLibrary().  In most
    libraries, OPEN increments the library variable lib_OpenCnt. This
    variable is also used by CLOSE and EXPUNGE.

    is the entry point called by the function CloseLibrary(). It
    decrements the library variable lib_OpenCnt and may do a delayed

    prepares the library for removal from the system. This often includes
    deallocating memory resources that were reserved during
    initialization. EXPUNGE not only frees the memory allocated for data
    structures, but also the areas reserved for the library node itself.

    is a fourth function vector reserved for future use. It must always
    return zero.

[Back to Amiga Developer Docs]