QP_ferror() #include <quintus/quintus.h>
int QP_ferror(stream)
QP_stream *stream;
Returns non-zero when an error has occurred reading from or writing to the named stream, otherwise zero.
QP_ferror() is similar to the library function ferror(3V),
however the return values differ and stream is a Prolog stream
rather than a stdio stream.
QP_SUCCESS
QP_ERROR
QP_fopen()
fli-ios