[#AutoFile-release]
= xref:AutoFile.adoc[AutoFile]::release
:relfileprefix: ../
:mrdocs:

Get wrapped FILE&ast; with transfer of ownership&period;

== Synopsis

Declared in `&lt;streams&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
FILE*
release();
----

== Description

[NOTE]
====
This will invalidate the AutoFile object, and makes it the responsibility of the caller of this function to clean up the returned FILE&ast;&period;

====

== Return Value

The wrapped FILE&ast;, which may be nullptr&semi; the AutoFile no longer owns it&period;


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