Extracted from Pike v8.0 release 164 as of 2018-07-18.
Method Stdio.Fd()->take_fd()
Method
take_fd
void take_fd(int fd)
Description
Rehooks the given file descriptor number to be associated with
this object. As opposed to using open with a file descriptor
number, it will be closed by this object upon destruct or when
close is called.