cplusplus_com wrote: |
---|
streambuf* pubsetbuf ( char* s, streamsize n ); In case of success, the member function should return a pointer to the object (this pointer), otherwise a null pointer. |
basic_streambuf<char_type,traits>* pubsetbuf(char_type* s, streamsize n); Returns: setbuf(s, n). |
basic_streambuf* setbuf(char_type* s, streamsize n); Effects: Influences stream buffering in a way that is defined separately for each class derived from basic_streambuf in this Clause (27.8.2.4, 27.9.1.5). Default behavior: Does nothing. Returns this. |