QP_rewind()

Synopsis

     #include <quintus/quintus.h>
     
     int QP_rewind(stream)
     QP_stream *stream;
     

QP_rewind() is similar to the library function rewind(3S), 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

QP_fopen(), QP_ungetc() fli-ios