StreamFs.setOwner

void setOwner(bool owner)

Sets whether or not stream owns the backend file descriptor.

Note

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

backend file descriptor when destroyed or false otherwise.

Parameters

ownertrue if this stream should own the file descriptor or false otherwise