[#BloombergLP-bdls-FdStreamBuf_FileHandler-willCloseOnReset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf_FileHandler.adoc[FdStreamBuf_FileHandler]::willCloseOnReset :relfileprefix: ../../../ :mrdocs: Return whether the associated file descriptor will be closed on reset. == Synopsis Declared in `<bdls_fdstreambuf.h>` [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. Note that this value is determined by the value of `willCloseOnResetFlag` that was passed to the most recent call to `reset` or `setWillCloseOnReset`. == Return Value `true` if the descriptor will be closed on reset, clear, or destruction; `false` otherwise [.small]#Created with https://www.mrdocs.com[MrDocs]#