QP_fputs()

Synopsis

     #include <quintus/quintus.h>
     
     int QP_fputs(s, stream)
     unsigned char *s;
     QP_stream     *stream;
     

Writes the NULL-terminated string pointed to by s to the named output stream.

QP_fputs() is similar to the library function fputs(3S), 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_ferror(), QP_fopen(), QP_fread(), QP_printf(), QP_putc() fli-ios