[#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&colon;&colon;k&lowbar;INVALID&lowbar;FD` if this object is not currently associated with a file descriptor&period;

== Synopsis

Declared in `&lt;bdls&lowbar;fdstreambuf&period;h&gt;`

[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]#
