1: # include   <curses.h>
   2: # include   <sys/types.h>
   3: # include   <sys/stat.h>
   4: # include   <ctype.h>
   5: # include   <signal.h>
   6: 
   7: # define    MINLEN  6
   8: # define    MAXERRS 7
   9: # define    DICT    "/usr/dict/words"
  10: 
  11: # define    MESGY   12
  12: # define    MESGX   0
  13: # define    PROMPTY 11
  14: # define    PROMPTX 0
  15: # define    KNOWNY  10
  16: # define    KNOWNX  1
  17: # define    NUMBERY 4
  18: # define    NUMBERX (COLS - 1 - 26)
  19: # define    AVGY    5
  20: # define    AVGX    (COLS - 1 - 26)
  21: # define    GUESSY  2
  22: # define    GUESSX  (COLS - 1 - 26)
  23: 
  24: 
  25: typedef struct {
  26:     short   y, x;
  27:     char    ch;
  28: } ERR_POS;
  29: 
  30: extern bool Guessed[];
  31: 
  32: extern char Word[], Known[], *Noose_pict[];
  33: 
  34: extern int  Errors, Wordnum;
  35: 
  36: extern double   Average;
  37: 
  38: extern ERR_POS  Err_pos[];
  39: 
  40: extern FILE *Dict;
  41: 
  42: extern off_t    Dict_size;
  43: 
  44: int die();
  45: 
  46: off_t   abs();

Defined macros

AVGX defined in line 20; used 4 times
AVGY defined in line 19; used 4 times
DICT defined in line 9; used 2 times
GUESSX defined in line 22; used 2 times
GUESSY defined in line 21; used 2 times
KNOWNX defined in line 16; used 2 times
KNOWNY defined in line 15; used 2 times
MESGX defined in line 12; used 7 times
MESGY defined in line 11; used 7 times
MINLEN defined in line 7; used 1 times
NUMBERX defined in line 18; used 2 times
NUMBERY defined in line 17; used 2 times
PROMPTX defined in line 14; used 2 times
PROMPTY defined in line 13; used 2 times

Usage of this include

Last modified: 1983-07-03
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1115
Valid CSS Valid XHTML 1.0 Strict