Next: , Previous: , Up: cpg-top   [Contents][Index]


12.2.4 Files and Streams

SP_fopen()

opens a file as a Prolog stream

SP_fclose()

closes a Prolog stream

SP_flush_output()

flushes output on a Prolog output stream

SP_load()

same as load_files/1

SP_create_stream()

makes a new Prolog stream

SP_restore()

same as restore/1

SP_set_user_stream_hook()   preinit
SP_set_user_stream_post_hook()   preinit

provide hooks for setting up standard streams


Send feedback on this subject.