[#GetFileSize]
= GetFileSize
:mrdocs:

Get the size of a file by scanning it&period;

== Synopsis

Declared in `&lt;util&sol;fs&lowbar;helpers&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::streampos
GetFileSize(
    char const* path,
    std::streamsize max = std&colon;&colon;numeric&lowbar;limits&lt;std&colon;&colon;streamsize&gt;&colon;&colon;max());
----

== Return Value

The file size or max

== Parameters

[cols="1,4"]
|===
| Name| Description
| *path* [in]
| The file path
| *max* [in]
| Stop seeking beyond this limit
|===


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