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

Return Values

A positive number indicating the number of bytes successfully written, including the headers, file contents, and trailers. A negative value indicates an error.