= private = protected
for_fd(...)
Synonym for IO::new.
/* * call-seq: * IO.for_fd(fd, mode) => io * * Synonym for <code>IO::new</code>. * */ static VALUE rb_io_s_for_fd(argc, argv, klass) int argc; VALUE *argv; VALUE klass; { VALUE io = rb_obj_alloc(klass); rb_io_initialize(argc, argv, io); return io; }