| |||||||||||
| closes the input-/outputstream.
close(+Stream)
close/1 closes Stream, which may be an inputstream or an outputstream. If Stream is an outputstream, the buffer of the outputstream will be flushed before closing the stream.
Arguments
Stream stream
Examples
close(Stream). Closes the stream and succeeds.
Standard
These predicates are part of the ISO-Prolog Standard.
See alsoat_end_of_stream/0/1, current_error/1, current_input/1, current_output/1, flush_output/0/1, open/3/4, set_error/1, set_input/1, set_output/1.
| |||||||||||
| |||||||||||
| Back> |
|