fstream - STL C++

basic_filebuf<C, T>::seekpos()

Declaration

protected:
virtual pos_type basic_filebuf<C,T>::seekpos(pos_type qPos,
					ios_base::openmode qMode = ios_base::in | ios_base::out);

Description

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

Header Include

#include <fstream>
 

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