current_error/1
identifies the current errorstream.
current_error(-Stream)
current_error/1 unifies Stream with the current errorstream.
Arguments
Stream stream
Examples
current_error(S). Succeeds with substitution S <- user_error.
Standard
This predicate is not part of the ISO-Prolog Standard.
See also
at_end_of_stream/0/1,
close/1/2,
current_input/1,
current_output/1,
flush_output/0/1,
open/3/4,
set_error/1,
set_input/1,
set_output/1.
Darueber
read on...