QP_puts()

Synopsis

     #include <quintus/quintus.h>
     
     int QP_puts(s)
     unsigned char *s;
     

Writes the NULL-terminated string pointed to by s, followed by a NEWLINE character, to the Prolog current output stream QP_curout.

QP_puts() is similar to the library function puts(3S), however it operates on the Prolog current output stream rather than the standard output stream stdout.

Return Value


QP_SUCCESS
If function succeeds
QP_ERROR
Otherwise

See Also

QP_ferror(), QP_fopen(), QP_fread(), QP_printf(), QP_putc() fli-ios