OTAllocMem
Allocates memory from the Open Transport memory pool.C INTERFACE
void* OTAllocMem(size_t nbytes)C++ INTERFACES
None. C++ applications use the C interface to this function.PARAMETERS
nbytes- The amount (in bytes) of memory to allocate.
DESCRIPTION
TheOTAllocMemfunction allocates raw memory from a pool that Open Transport has created for a client application. This function returns a pointer to the allocated memory that theOTFreeMemfunction uses when to deallocate
this memory.SPECIAL CONSIDERATIONS
Do not make this call without having already called theOTEnterInterruptfunction.SEE ALSO
To free the memory you allocated with this function, use theOTFreeMemfunction (described next).