[#BloombergLP-bdls-FilesystemUtil-getAvailableSpace-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::getAvailableSpace :relfileprefix: ../../../ :mrdocs: `getAvailableSpace` overloads == Synopses Declared in `<bdls_filesystemutil.h>` 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdls/FilesystemUtil/Offset.adoc[Offset] xref:BloombergLP/bdls/FilesystemUtil/getAvailableSpace-08.adoc[getAvailableSpace](xref:BloombergLP/bdls/FilesystemUtil/FileDescriptor.adoc[FileDescriptor] descriptor); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/getAvailableSpace-08.adoc[_» more..._]# Return the number of bytes available for allocation in the file system where the file or directory with the specified `path` resides, or a negative value if an error occurs. The parameterized `STRING_TYPE` must be one of `bsl::string`, `std::string`, `std::pmr::string` (if supported), `bsl::string_view`, or `bslstl::StringRef`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdls/FilesystemUtil/Offset.adoc[Offset] xref:BloombergLP/bdls/FilesystemUtil/getAvailableSpace-0a.adoc[getAvailableSpace](char const* path); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/getAvailableSpace-0a.adoc[_» more..._]# Same as the overload taking `const char *`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_TYPE> static xref:BloombergLP/bdls/FilesystemUtil/Offset.adoc[FilesystemUtil::Offset] xref:BloombergLP/bdls/FilesystemUtil/getAvailableSpace-0d.adoc[getAvailableSpace](STRING_TYPE const& path); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/getAvailableSpace-0d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#