[#BloombergLP-bdls-FdStreamBuf-fileDescriptor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf.adoc[FdStreamBuf]::fileDescriptor :relfileprefix: ../../../ :mrdocs: Return the file descriptor associated with this object, or `FilesystemUtil::k_INVALID_FD` if this object is not currently associated with a file descriptor. == Synopsis Declared in `<bdls_fdstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdls/FilesystemUtil/FileDescriptor.adoc[FilesystemUtil::FileDescriptor] fileDescriptor() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#