static VALUE
io_getpartial(int argc, VALUE *argv, VALUE io, int nonblock)
{
...
n = rb_read_internal(fptr->fd, RSTRING_PTR...