QP_fprintf()

Synopsis

     #include <quintus/quintus.h>
     
     int QP_fprintf(stream, format [ , arg ]...)
     QP_stream *stream;
     char      *format;
     

Places output onto the Prolog output stream stream.

QP_fprintf() is similar to the library function fprintf(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

QP_printf(), QP_putc() fli-ios