QP_printf()

Synopsis

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

Places output onto the current Prolog output stream.

QP_printf() is similar to the library function printf(3V), however the return values differ it puts its output on the current Prolog output stream (QP_curout) rather than a stdio stream.

Return Value


the number characters written
Returned if the function succeeds
QP_ERROR
Otherwise

See Also

QP_putc() fli-ios