/* let us know when done */ while (!psio_error(PostScriptInput)) { if (get_damage(&id)) { draw_board(id); repaired(id); } ...