Sets the current position of Stream to Position.
stream_object, must be ground
An open stream.
Stream position object representing the current position of Stream.
set_stream_position/2 repositions the stream pointer, and also
the other counts, such as byte, character, and line counts and line position.
It may only be used on streams that have been opened with the
Please note: A stream position object is represented by a
special Prolog term. The only safe way of obtaining such an object is
stream_property/2. You should not try to construct,
change, or rely on the form of this object. It may change in
Stream errors (see ref-iou-sfh-est), plus:
Position is not a valid stream position object.