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

Return the number of bytes available for allocation in the file system where the file with the specified `descriptor` resides, or a negative value if an error occurs&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]
getAvailableSpace(xref:BloombergLP/bdls/FilesystemUtil/FileDescriptor.adoc[FileDescriptor] descriptor);
----


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