15.11.4 openfd

bool openfd(int fd, bool closefd)

Sets the data target of the stream to the specified file descriptor fd. If closefd is false, the underlying data target is not closed before changing to the new data source.