[#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, `k_OFFSET_MAX` if no limit is set, or a negative value if an error occurs. Note that if you are doing any calculations involving the returned value, it is recommended to check for `k_OFFSET_MAX` specifically to avoid integer overflow in your calculations. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdls/FilesystemUtil/Offset.adoc[Offset] getFileSizeLimit(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#