QP_fopen() #include <quintus/quintus.h>
QP_stream *QP_fopen(filename, type)
unsigned char *filename;
char *type;
Opens the file named by filename and associates a stream with it.
QP_fopen() is similar to the library function fopen(3V),
however the return values differ and stream is a Prolog stream
rather than a stdio stream.
QP_SUCCESS
QP_ERROR
QP_fopen(), QP_fdopen(),
QP_prepare_stream/[3,4]
fli-ios