module IO::generic_writable
#define strio_addstr rb_io_addstr
See IO#<<
.
print(obj, ...) → nil
#define strio_print rb_io_print
See IO#print
.
#define strio_printf rb_io_printf
See IO#printf
.
#define strio_puts rb_io_puts
See IO#puts
.
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);
}
Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.