[#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 whether this handler closes its file descriptor on reset. == Synopsis Declared in `<bdls_fdstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setWillCloseOnReset(bool booleanValue); ---- == Description 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. == Parameters [cols="1,4"] |=== | Name| Description | *booleanValue* | `true` to close the descriptor on reset |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#