QP_ungetc()
#include <quintus/quintus.h> int QP_ungetc(c, stream) int c; QP_stream *stream;
Pushes the character c back onto Prolog input stream stream.
QP_ungetc()
is similar to the library function ungetc(3S)
,
however the return values differ and stream is a Prolog stream rather
than a stdio
stream.
QP_SUCCESS
QP_ERROR
QP_fseek()
, QP_getc()
fli-ios