Documentation Prolog Predicate Reference builtin close/2

close/2

Close a stream according to several options.

Description

close( +stream, +stream_options )

close(Stream, Options) closes the stream Stream and performs some additional tasks, depending on what value Options is bound to.

Options

close accepts a list of options as its last argument. These options are:

Implementation