Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide

Returns

A pointer to the buffer, which will be reallocated if necessary.

The function also adds *pos to the end of the headers in the buffer.