[#BloombergLP-bdls-FdStreamBuf_FileHandler-fileSize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf_FileHandler.adoc[FdStreamBuf_FileHandler]::fileSize :relfileprefix: ../../../ :mrdocs: Return the size of the file associated with this file handler, or 0 if it is associated with a device other than a regular file (e.g., a device or directory). == Synopsis Declared in `<bdls_fdstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::streamoff fileSize() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#