fails:IO#getc returns the next character from the stream
