cfile
pub fn fdopen<S: AsRawFd>(s: &S, mode: &str) -> Result<CFile>
associates a stream with the existing file descriptor.
The mode of the stream must be compatible with the mode of the file descriptor.