[#BloombergLP-bdls-FdStreamBuf-seekpos] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf.adoc[FdStreamBuf]::seekpos :relfileprefix: ../../../ :mrdocs: Seek to the specified `offset` relative to the beginning of the file. Return the resulting absolute position in the file relative to the beginning. Optionally specify `mode` which is ignored. Also note that seeks are always in terms of bytes on the device, meaning that on a Windows text file, seeking past a `\r ` sequence on the disk will count as two bytes, though if it is read in it will be a single ` ` byte. == Synopsis Declared in `<bdls_fdstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual pos_type seekpos( pos_type offset, std::ios_base::openmode mode = bsl::ios_base::in | bsl::ios_base::out) override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#