StreamFile.setOwner

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.

class StreamFile
void
setOwner
(
bool owner
)

Parameters

owner bool

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