current_stream/3
current_stream(
?AbsFile,
?Mode,
?Stream)
Stream is a stream, which is currently open on file AbsFile in mode Mode.
Absolute filename.
open/[3,4]
this is
one of [read, write, append]
.
For other streams Mode may have other values.
user_input
, user_output
and
user_error
will not be recognized or generated by
current_stream/3
.
This is unlike stream_property/3
, which can backtrack over all
streams, including the pre-defined ones.
Can be used to backtrack through all open streams.
open/[3,4]
, ref-iou-sfh.