QP_vfprintf()

Synopsis

     #include <quintus/quintus.h>
     
     int QP_vfprintf(stream, format, ap)
     QP_stream *stream;
     char      *format;
     va_list    ap;
     

Places output onto the Prolog output stream stream.

QP_vfprintf() is also similar to the library function vfprintf(3V), however the return values differ and stream is a Prolog stream rather than a stdio stream. It also resembles QP_fprintf() except that rather than being called with a variable number of arguments, it is called with an argument list as defined by varargs(3).

Return Value


QP_SUCCESS
If function succeeds
QP_ERROR
Otherwise

See Also

QP_printf(), QP_fprintf() fli-ios