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::streambuf
streambuf                                   Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  protected: streambuf();
  protected: streambuf( char* pr, int nLength );
 
  Parameter   Description
 
  <pr>        A pointer to a previously allocated reserve area of length
              <nLength>. A NULL value indicates an unbuffered stream.
 
  <nLength>   The length (in bytes) of the reserve area. A length of 0
              indicates an unbuffered stream.
 
  Remarks
 
  The first constructor makes an uninitialized streambuf object. This
  object is not suitable for use until a setbuf call is made. A derived
  class constructor usually calls setbuf or uses the second constructor.
 
  The second constructor initializes the streambuf object with the
  specified reserve area or marks it as unbuffered.
 
  See Also
 
  streambuf::setbuf
 
 
                                     -♦-