Joe Van Dyk wrote: > So, if I have a IO object in Ruby, how could I use C's stdio functions > on it? And how could I have figured it out without asking the mailing > list? :-) Cuz I'm sure I'll have lots more questions. Check out the GetOpenFile, GetWriteFile, etc. macros in rubyio.h, and the rb_io_xxxxx functions in io.h. I found these by perusing the Ruby source code and asking questions on this list.