QP_fclose()
#include <quintus/quintus.h> int QP_fclose(stream) QP_stream *stream;
Writes out any buffered data for the named stream, and closes the named stream.
QP_fclose()
is similar to the library function fclose(3S)
,
however the return values differ and stream is a Prolog stream rather
than a stdio
stream.
QP_SUCCESS
QP_ERROR
QP_fopen()
fli-ios