getAvailableSpace overloads
Synopses
Declared in <bdls_filesystemutil.h>
Return the number of bytes available on the file system of descriptor.
static
Offset
getAvailableSpace(FileDescriptor descriptor);
Return the number of bytes available on the file system of path.
static
Offset
getAvailableSpace(char const* path);
Return the number of bytes available on the file system of path.
template<class STRING_TYPE>
static
FilesystemUtil::Offset
getAvailableSpace(STRING_TYPE const& path);
Return Value
the number of available bytes, or a negative value on error
Parameters
Name |
Description |
descriptor |
file descriptor whose volume's free space is returned |
path |
filesystem path whose volume's free space is returned |
Created with MrDocs