This built-in predicate closes the current input stream. The new current input stream will be the standard input stream. If the stream to close is the standard input stream then seen/0 succeeds but the standard stream is not closed. This predicate is not part of the ISO Prolog standard.
see also: at_end_of_stream/0 at_end_of_stream/1 close/2 close_user_streams/0 current_input/1 current_output/1 flush_output/0 flush_output/1 open/3 open/4 prolog I/O set_input/1 set_output/1 set_stream_position/2 stream_property/2
| Example | |
| seen. | succeeds, the new current input stream is the standard input stream. |