The Microsoft Input/Output Stream Classes (iostream.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
streambuf::pbackfail
streambuf                                   Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  virtual int pbackfail( int nCh );
 
  Parameter   Description
 
  <nCh>       The character used in a previous sputbackc call.
 
  Remarks
 
  This function is called by sputbackc if it fails, usually because the
  eback pointer equals the gptr pointer. The pbackfail function should
  deal with the situation, if possible, by such means as repositioning the
  external file pointer.
 
  Default Implementation
 
  Returns EOF.
 
  Return Value
 
  The <nCh> parameter if successful; otherwise EOF.
 
  See Also
 
  streambuf::sputbackc
 
 
                                     -♦-