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

netbuf_getc

The netbuf_getc function retrieves a character from the cursor position of the network buffer specified by b.

Syntax

netbuf_getc(netbuf b);

Returns

The integer representing the character if one was retrieved, or the constant IO_EOF or IO_ERROR for end of file or error.

Parameters

netbuf b is the buffer from which to retrieve one character.

See Also

netbuf_buf2sd, netbuf_close, netbuf_grab, netbuf_open, netbuf_getbytes