BloombergLP::bdls::FilesystemUtil_WindowsImpUtil::getFileSize

Return the size, in bytes, of the file with the specified descriptor, or a negative value if an error occurs.

Synopsis

Declared in <bdls_filesystemutil_windowsimputil.h>

static
FilesystemUtil_WindowsImpUtil<WINDOWS_INTERFACE>::Offset
getFileSize(FileDescriptor descriptor);

Return Value

the size in bytes, or a negative value if an error occurs

Parameters

NameDescription
descriptoropen file descriptor whose size is requested