Name

ap_blookc — peek at the next character in a stream

Synopsis

int ap_blookc(char *buff, BUFF *fb)

Places the next character in the stream in *buff, without removing it from the stream. Returns 1 on success, 0 on EOF, and -1 on error.