Name

ap_bgetc — get a character from a stream

Synopsis

int ap_bgetc(BUFF *fb)

Reads a single character from fb. Returns the character on success and returns EOF on error or end of file. If the EOF is the result of an end of file, errno will be zero.