[#bsl-basic_ostringstream-seekp-0c]
= xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic&lowbar;ostringstream]::seekp
:relfileprefix: ../../
:mrdocs:

Seek relative to `direction` by `offset` characters&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
seekp(
    xref:bsl/basic_ostringstream/off_type.adoc[off&lowbar;type] offset,
    ios&lowbar;base::seekdir direction);
----

== Return Value

a reference to this stream

== Parameters

[cols="1,4"]
|===
| Name| Description
| *offset*
| relative offset in the output sequence
| *direction*
| base position for the seek
|===


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