StreamFile.setOwner

void setOwner(bool owner)

Sets whether or not stream owns the backend FILE pointer.

Note

owner should be true if the stream should fclose() the

backend FILE pointer when destroyed or false otherwise.

Parameters

ownertrue if this stream should own the FILE pointer or false otherwise