Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

Parameters

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