module IO::generic_writable

Public Instance Methods

See IO#<<.

#define strio_addstr rb_io_addstr

See IO#print.

See IO#printf.

#define strio_printf rb_io_printf

See IO#puts.

#define strio_puts rb_io_puts

See IO#write

#define strio_syswrite rb_io_write

See IO#write_nonblock

static VALUE
strio_syswrite_nonblock(int argc, VALUE *argv, VALUE self)
{
    VALUE str;

    rb_scan_args(argc, argv, "10:", &str, NULL);
    return strio_syswrite(self, str);
}