QP_setoutput()

Synopsis

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

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

Arguments


stream
pointer to a valid Prolog output stream

Description

This function sets the current Prolog outpout stream to stream and returns the previous current Prolog output stream before the operation.

See Also

set_ouptut/1, QP_setinput() fli-ios