[#bsl-basic_stringbuf-setp-05]
= xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic&lowbar;stringbuf]::setp
:relfileprefix: ../../
:mrdocs:

Setting the three write area pointers&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setp(
    char&lowbar;type* &lowbar;&lowbar;pbeg,
    char&lowbar;type* &lowbar;&lowbar;pend);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;pbeg*
| A pointer&period;
| *&lowbar;&lowbar;pend*
| A pointer&period;
|===

== Postconditions

* _&lowbar;&lowbar;pbeg_ &equals;&equals; `pbase(),` _&lowbar;&lowbar;pbeg_ &equals;&equals; `pptr(),` and _&lowbar;&lowbar;pend_ &equals;&equals; `epptr()`


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