[#AutoFile-release] = xref:AutoFile.adoc[AutoFile]::release :relfileprefix: ../ :mrdocs: Get wrapped FILE* with transfer of ownership. == Synopsis Declared in `<streams.h>` [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*. ==== == Return Value The wrapped FILE*, which may be nullptr; the AutoFile no longer owns it. [.small]#Created with https://www.mrdocs.com[MrDocs]#