BloombergLP::bdls::FilesystemUtil::getAvailableSpace

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.

Synopsis

Declared in <bdls_filesystemutil.h>

static
Offset
getAvailableSpace(FileDescriptor descriptor);