Documentation Prolog Predicate Reference builtin close/1

close/1

Close a stream.

Description

close( +stream )

close(Stream) closes the specified stream, raising an existance_error if it was already closed.

Implementation