iostream hierarchy filebuf:: setbuf [virtual] [protected] |
cplusplus.com |
Set buffer.
Sets the array of n
characters pointed by s as the new character buffer.
Parameters.
Return Value.
In case of success the member function returns this, otherwise a null pointer.
Basic template member declaration ( basic_filebuf<charT,traits> ):
typedef charT char_type; basic_filebuf<charT,traits> * setbuf ( char_type* s, streamsize n ); |
See also.
streambuf::pubsetbuf
filebuf class