Memory Allocation


These functions are used to allocate and free memory.

TutCalloc — allocate and clear memory

T_PTR TutCalloc(size) 
T_UINT4 size; 

TutFree — free the previously allocated memory block

void TutFree(ptr) 
T_PTR ptr; 

TutMalloc — allocate a block of memory

T_PTR TutMalloc(size) 
T_UINT4 size; 

TutRealloc — reallocate memory

T_PTR TutRealloc(ptr, size) 
T_PTR ptr; 
T_UINT4 size; 

TIBCO SmartSockets™ API Quick Reference
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com