[#BloombergLP-bdls-FileDescriptorGuard-release]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FileDescriptorGuard.adoc[FileDescriptorGuard]::release
:relfileprefix: ../../../
:mrdocs:

Release the managed file descriptor without closing it&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdls/FilesystemUtil/FileDescriptor.adoc[FilesystemUtil::FileDescriptor]
release();
----

== Description

Release the file from management by this object (without closing it) and return the formerly managed descriptor&period; The behavior is undefined unless this object is managing a file&period;

== Return Value

the formerly managed file descriptor


[.small]#Created with https://www.mrdocs.com[MrDocs]#
