Set whether this handler closes its file descriptor on reset.

Synopsis

Declared in <bdls_fdstreambuf.h>

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

Name

Description

booleanValue

true to close the descriptor on reset

Created with MrDocs