Documentation Prolog Predicate Reference builtin open/3

open/3

Open a source in a certain mode through a stream.

Description

open( +atom, +atom, -stream )

open(Source, Mode, Stream) behaves exactly like open/4 if we called it with an empty options list.

Implementation