The %fdopen() function associates a stream with the file.descriptor obtained from an %open(), %dup(), or %creat().
stream = (char*)%fdopen(file.descriptor, type)