Sun Java System Web Server 6.1 SP11 NSAPI Programmer's Guide

Parameters

void *ptr a void pointer to a block of memory created by PERM_MALLOC, PERM_CALLOC, or PERM_STRDUP.

int size is the number of bytes to which the memory block should be resized.