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


The filebuf_getc function retrieves a character from the current file position and returns it as an integer. It then increments the current file position.

Use filebuf_getc to sequentially read characters from a buffered file.


filebuf_getc(filebuf b);


An integer containing the character retrieved, or the constant IO_EOF or IO_ERROR upon an end of file or error.


filebuf b is the name of the file buffer.

See Also

filebuf_close, filebuf_buf2sd, filebuf_open, filter_create