The filebuf_getc function retrieves a character from the current file position and returns the character as an integer. The function then increments the current file position.
Use filebuf_getc to sequentially read characters from a buffered file.
An integer containing the character retrieved, or the constant IO_EOF or IO_ERROR upon an end of file or an error.
filebuf b is the name of the file buffer.