Files and Streams


QP_add_tty()
registers a created Prolog stream as a tty stream group
QP_clearerr()
clears the previous error on a Prolog stream
QP_close()
closes a Prolog stream
QP_eof()
tests for the end of file on an input stream
QP_eoln()
tests for the end of record on an input stream
QP_fclose()
closes a Prolog stream
QP_fdopen()
creates a text stream or a binary stream from a file descriptor
QP_ferror()
tests error condition for a Prolog stream
QP_flush()
flushes output on a Prolog output stream
QP_fnewln()
terminates an output record for a Prolog output stream
QP_fopen()
opens a text file or a binary file as a Prolog stream
QP_getpos()
gets the current position for a Prolog stream
QP_line_count()
obtains the line count for a Prolog stream
QP_line_position()
obtains the line position for a Prolog stream
QP_prepare_stream()
initializes internal fields of a QP_stream structure
QP_register_stream()
registers a created Prolog stream
QP_rewind()
repositions a Prolog stream back to the beginning
QP_seek()
seeks to a random position in a Prolog stream
QP_setinput()
sets the Prolog current input stream
QP_setoutput()
sets the Prolog current output stream
QP_setpos()
positions a Prolog stream back to a previous read/written position
QU_fdopen()
creates streams opened by QP_fdopen()
QU_initio()
creates three Prolog initial streams
QU_open()
creates streams opened by open/[3,4]
QU_stream_param()
sets up default field values in a QP_stream stream structure