Return the size, in bytes, of the file or directory specified by the specified open descriptor, or a negative value if an error occurs. Note that the size of a symbolic link is the size of the file or directory to which it points.
descriptor
Declared in <bdls_filesystemutil.h>
<bdls_filesystemutil.h>
static Offset getFileSize(FileDescriptor descriptor);