basic_filebuf::seekpos

Overrides basic_streambuf::seekpos()

  virtual pos_type seekpos
     (pos_type sp,
     ios_base::openmode which =
     ios_base::in | ios_base::out);  
Remarks

Seekpos function returns a newly formed pos_type object which contains all information needed to determine the current position if successful. Returns an invalid stream position if it fails.