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

Alters the stream positions&period;

== Synopsis

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

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

== Description

Each derived class provides its own appropriate behavior&period;

[NOTE]
====
Base class version does nothing, returns a `pos&lowbar;type` that represents an invalid stream position&period;

====


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