#ifndef lint static char *sccsid = "@(#)mkey3.c 4.2 (Berkeley) 05/11/89"; #endif #include #include "pathnames.h" #define COMNUM 500 #define COMTSIZE 997 char *comname = _PATH_EIGN; static int cgate = 0; extern char *comname; int comcount = 100; static char cbuf[COMNUM*9]; static char *cwds[COMTSIZE]; static char *cbp; common (s) char *s; { if (cgate==0) cominit(); return (c_look(s, 1)); } cominit() { int i; FILE *f; cgate=1; f = fopen(comname, "r"); if (f==NULL) return; cbp=cbuf; for(i=0; i