[#BloombergLP-bdls-FdStreamBuf_FileHandler-setWillCloseOnReset]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf_FileHandler.adoc[FdStreamBuf&lowbar;FileHandler]::setWillCloseOnReset
:relfileprefix: ../../../
:mrdocs:

Set `willCloseOnReset` (the flag determining whether this file handler will close the file descriptor on the next reset, clear, or destruction) to the specified `booleanValue`&period; If `willCloseOnReset` is `true`, the next reset, clear, or destruction will result in the file descriptor being closed, otherwise, it will remain open&period;

== Synopsis

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

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


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