current_stream/3

Synopsis

current_stream(-AbsFile, -Mode, +Stream)

current_stream(*AbsFile, *Mode, *Stream)

Stream is a stream, which is currently open on file AbsFile in mode Mode.

Arguments


AbsFile atom
absolute filename.
Mode one of [read, write, append]

Stream stream_object
a term, which will be unifed with an open stream.

Description

Backtracking

Can be used to backtrack through all open streams.

See Also

open/[3,4], see/1, tell/1 ref-iou-sfh-bos