Return the size, in bytes, of the file with the specified descriptor, or a negative value if an error occurs.
Declared in <bdls_filesystemutil_uniximputil.h>
static
FilesystemUtil_UnixImpUtil<UNIX_INTERFACE>::Offset
getFileSize(FileDescriptor descriptor);
the size in bytes, or a negative value if an error occurs
| Name | Description |
|---|---|
| descriptor | open file descriptor whose size is requested |