QP_setinput()

Synopsis

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

Set the Prolog current input stream to a specified value stream.

Arguments


stream
pointer to a valid input stream

Description

This function sets an input stream stream to be the current Prolog input stream and returns the previous current Prolog input stream.

See Also

set_input/1, QP_setoutput() fli-ios