close_2Version: NextOn this pageclose/2 Description close/2 is a predicate that closes a stream. Signature close(+Stream, +Options) Where: Stream is the stream to close. Options is a list of options for closing the stream.