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

Return whether the associated file descriptor will be closed on reset&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
willCloseOnReset() const;
----

== Description

Return `true` if the associated file descriptor will be closed the next time this file handler is reset, cleared, or destroyed, and `false` otherwise&period; Note that this value is determined by the value of `willCloseOnResetFlag` that was passed to the most recent call to `reset` or `setWillCloseOnReset`&period;

== Return Value

`true` if the descriptor will be closed on reset, clear, or destruction&semi; `false` otherwise


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