al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
reallocSyntax#include <malloc.h> void *realloc (void *ptr, int size); Arguments
The pointer to the beginning of the resized reserved area, or NULL if the area could not be resized. Explanation It resizes the memory block in a reserved area that was reserved by the InitHeap function. It changes the size of the block pointed to by ptr to the new size specified by size. The content up to the lessor of the old or new size is not changed. The function attempts to keep the same base address, but if that is not possible, a new base address is generated. Note This standard function comes with NuSystem.
|