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::setb
streambuf                                   Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  protected: void setb( char* pb, char* peb, int  nDelete = 0 );
 
  Parameter   Description
 
  <pb>        The new value for the base pointer.
 
  <peb>       The new value for the ebuf pointer.
 
  <nDelete>   Flag that controls automatic deletion. If <nDelete> is not
              0, then the reserve area will be deleted (1) when the base
              pointer is changed by another setb call or (2) when the
              streambuf destructor is called.
 
  Remarks
 
  Sets the values of the reserve area pointers. If both <pb> and <peb> are
  NULL, then there is no reserve area. If <pb> is not NULL and <peb> is
  NULL, then the reserve area has a length of 0.
 
  See Also
 
  streambuf::base, streambuf::ebuf
 
 
                                     -♦-