[#BloombergLP-bdls-FdStreamBuf_FileHandler-setWillCloseOnReset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf_FileHandler.adoc[FdStreamBuf_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`. If `willCloseOnReset` is `true`, the next reset, clear, or destruction will result in the file descriptor being closed, otherwise, it will remain open. == Synopsis Declared in `<bdls_fdstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setWillCloseOnReset(bool booleanValue); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#