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

Returns

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

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