QP_peekchar()

Synopsis

     #include <quintus/quintus.h>
     
     int QP_peekchar()
     

Look a character ahead from the Prolog current input stream. QP_peekchar() is a macro.

Description

QP_peekchar() is equvalent to QP_peekc(QP_stdin).

Return Values

Character code or QP_ERROR.

See Also

QP_peekc(), QP_fpeekc(), peek_char/[2,3] fli-ios