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

Close the file managed by this guard and release that file from management by this object&period; The behavior is undefined unless this object is managing a file&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
closeAndRelease();
----


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