basic_streambuf::pubsetbuf

Calls setbuf, a protected virtual function that is overridden in a derived class.

basic_streambuf<Elem, Tr> *pubsetbuf(
    char_type *_Buffer,
    streamsize _Count
);

Parameters

  • _Buffer
    A pointer to char_type for this instantiation.

  • _Count
    The size of the buffer.

Return Value

Returns setbuf(_Buffer, _Count).

Requirements

Header: <streambuf>

Namespace: std

See Also

Concepts

basic_streambuf Class

basic_streambuf Members

iostream Programming

iostreams Conventions