readchar()
See IO#readchar.
static VALUE strio_readchar(VALUE self) { VALUE c = strio_getc(self); if (NIL_P(c)) rb_eof_error(); return c; }