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

Alters the stream position&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
pos&lowbar;type
pubseekpos(
    pos&lowbar;type &lowbar;&lowbar;sp,
    ios&lowbar;base::openmode &lowbar;&lowbar;mode = ios&lowbar;base&colon;&colon;in &verbar; ios&lowbar;base&colon;&colon;out);
----

== Description

Calls virtual seekpos function&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;sp*
| Position
| *&lowbar;&lowbar;mode*
| Value for ios&lowbar;base&colon;&colon;openmode&period;
|===


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