basic_streambuf::seekoff

To return an offset of the current pointer in an input or output stream.

virtual pos_type seekoff (off_type off, ios_base::seekdir way, ios_base::openmode which = ios::in |ios::out);

Remarks

The function seekoff() is overridden in basic_stringbuf and basic_filebuf classes.

Returns a pos_type value, which is an invalid stream position.