fstream - STL C++

basic_filebuf<C, T>::seekoff()

Declaration

protected:
virtual pos_type basic_filebuf<C,T>::seekoff(off_type qOff,
					ios_base::seekdir qDir,
					ios_base::openmode qMode = ios_base::in | ios_base::out);

Description

This is seekoff() function for the basic_filebuf class template. This is a protected function that is called internally to change the position, direction, and open mode. The function returns the new position if it is successful. Otherwise, it returns an invalid stream position.

Header Include

#include <fstream>
 

© 2007–2024 XoaX.net LLC. All rights reserved.