basic_streambuf::pubseekoff

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

The member function returns seekoff(off, way, which).