zchar replay_read_input (zchar *buf) { zchar c; for (;;) { c = replay_char (); if (c == ZC_BAD || is_terminator (c)) break; *buf++ = c; } *buf = 0; if (fgetc (pfp) != '\n') { replay_close (); return ZC_BAD; } else return c; }/* replay_read_input */
zchar Processor::replay_read_key() { zchar key = replay_char(); if (pfp->getChar() != '\n') { replay_close(); return ZC_BAD; } else { return key; } }
zchar replay_read_key (void) { zchar key; key = replay_char (); if (fgetc (pfp) != '\n') { replay_close (); return ZC_BAD; } else return key; }/* replay_read_key */
zchar Processor::replay_read_input(zchar *buf) { zchar c; for (;;) { c = replay_char(); if (c == ZC_BAD || is_terminator(c)) break; *buf++ = c; } *buf = 0; if (pfp->getChar() != '\n') { replay_close(); return ZC_BAD; } else { return c; } }