[#bsl-basic_syncbuf-pubsetbuf]
= xref:bsl.adoc[bsl]::xref:bsl/basic_syncbuf.adoc[basic&lowbar;syncbuf]::pubsetbuf
:relfileprefix: ../../
:mrdocs:

Entry points for derived buffer functions&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;syncbuf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
basic&lowbar;streambuf*
pubsetbuf(
    char&lowbar;type* &lowbar;&lowbar;s,
    streamsize &lowbar;&lowbar;n);
----

== Description

@&lcub;

The public versions of `pubfoo` dispatch to the protected derived `foo` member functions, passing the arguments (if any) and returning the result unchanged&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
