To alter an input or output stream position.
virtual pos_type seekpos(
pos_type sp,
ios_base::openmode
which = ios_base::in | ios_base::out);
The function seekpos() is overridden in strstream classes.
Returns new stream position if successful. Otherwise, it returns pos_type(off_type(-1)).