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

Parameters

void *ptr is a (void *) pointer to a block of memory. If the pointer is not one created by MALLOC, CALLOC, or STRDUP, the behavior is undefined.