QP_clearerr()

Synopsis

     #include <quintus/quintus.h>
     
     void QP_clearerr(stream)
     QP_stream *stream;
     

Resets the error indication and EOF indication to zero on the named stream.

QP_clearerr() is similar to the library function clearerr(3V), however the return values differ and stream is a Prolog stream rather than a stdio stream.

Return Value


QP_SUCCESS
If function succeeds
QP_ERROR
Otherwise

See Also

fli-ios