/* * call-seq: * strio.readchar -> fixnum * * See IO#readchar. */ static VALUE strio_readchar(self) VALUE self; { VALUE c = strio_getc(self); if (NIL_P(c)) rb_eof_error(); return c; }