11.3.57 current_stream/3

Synopsis

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

for streams opened with open/[3,4] this is one of [read, write, append]. For other streams Mode may have other values.

Stream

stream_object

Description

Backtracking

Can be used to backtrack through all open streams.

Exceptions

None.

See Also

open/[3,4], ref-iou-sfh.


Send feedback on this subject.