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


   NAME
        AllocVec -- allocate memory and keep track of the size  (V36)

   SYNOPSIS
        memoryBlock = AllocVec(byteSize, attributes)
        D0                     D0        D1

        void *AllocVec(ULONG, ULONG);

   FUNCTION
        This function works identically to allocmem(), but tracks the size
        of the allocation.

        See the allocmem() documentation for details.

   WARNING
        The result of any memory allocation MUST be checked, and a viable
        error handling path taken.  ANY allocation may fail if memory has
        been filled.

   SEE ALSO
        freevec(), allocmem()