[#BloombergLP-bdls-FilesystemUtil-getFileSizeLimit]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::getFileSizeLimit
:relfileprefix: ../../../
:mrdocs:

Return the file size limit for this process&period;

== Synopsis

Declared in `&lt;bdls&lowbar;filesystemutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdls/FilesystemUtil/Offset.adoc[Offset]
getFileSizeLimit();
----

== Description

Return the file size limit for this process, `k&lowbar;OFFSET&lowbar;MAX` if no limit is set, or a negative value if an error occurs&period; Note that if you are doing any calculations involving the returned value, it is recommended to check for `k&lowbar;OFFSET&lowbar;MAX` specifically to avoid integer overflow in your calculations&period;

== Return Value

the file size limit, `k&lowbar;OFFSET&lowbar;MAX` if no limit is set, or a negative value if an error occurs


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