This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_125) is shown here.
sysread(*args)
public
Similar to #read, but raises EOFError
at end of string instead of returning
nil, as well as IO#sysread does.
static VALUE
strio_sysread(int argc, VALUE *argv, VALUE self)
{
VALUE val = strio_read(argc, argv, self);
if (NIL_P(val)) {
rb_eof_error();
}
return val;
}