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

Return Values

0 if successful, line contains the string.

1 if the end of file is reached, line contains the string.

-1 if an error occurs, line contains a description of the error.