basic_streambuf *pubsetbuf(E *s, streamsize n);
The member function returns setbuf(s, n).
setbuf
(s, n)