1: # include   "hangman.h"
   2: 
   3: /*
   4:  * prman:
   5:  *	Print out the man appropriately for the give number
   6:  *	of incorrect guesses.
   7:  */
   8: prman()
   9: {
  10:     register int    i;
  11: 
  12:     for (i = 0; i < Errors; i++)
  13:         mvaddch(Err_pos[i].y, Err_pos[i].x, Err_pos[i].ch);
  14:     while (i < MAXERRS) {
  15:         mvaddch(Err_pos[i].y, Err_pos[i].x, ' ');
  16:         i++;
  17:     }
  18: }

Defined functions

prman defined in line 8; used 2 times
Last modified: 1983-01-07
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2229
Valid CSS Valid XHTML 1.0 Strict