std::basic_streambuf<CharT,Traits>::pubseekpos, (3) - Linux Manuals
std::basic_streambuf<CharT,Traits>::pubseekpos,: std::basic_streambuf<CharT,Traits>::pubseekpos,
NAME
std::basic_streambuf<CharT,Traits>::pubseekpos, - std::basic_streambuf<CharT,Traits>::pubseekpos,
Synopsis
pos_type pubseekpos(
ios_base::openmode which
protected:
virtual pos_type seekpos(
ios_base::openmode which
Sets the position indicator of the input and/or output sequence to an absolute
position.
1)
2)
override this function to allow absolute positioning of the position indicator.
Parameters
pos
which -
Return value
1)
2)
class version returns pos_type(off_type(-1)).
Example
See also
pubseekoff invokes seekoff()