The filebuf_getc function retrieves a character from the current file position and returns it as an integer. the function 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.