Lines Matching refs:words
294 char *words[MAXTMP]; in merge_files() local
301 if ((words[ti] = malloc(MAXWORDLEN)) == NULL) { in merge_files()
303 free(words[ti]); in merge_files()
312 (void) fgets(words[ti], MAXWORDLEN, tmpfp[ti]); in merge_files()
313 words[ti][MAXWORDLEN-1] = '\0'; in merge_files()
328 if (strcmp(words[choice], words[ti]) > 0) in merge_files()
331 (void) Chomp(words[choice]); in merge_files()
332 if (words[choice][0] != '\0' && in merge_files()
333 strcmp(lastword, words[choice]) != 0) { in merge_files()
334 (void) PutPW(pwp, words[choice]); in merge_files()
335 (void) strncpy(lastword, words[choice], MAXWORDLEN); in merge_files()
338 if (fgets(words[choice], MAXWORDLEN, tmpfp[choice]) == NULL) { in merge_files()
343 words[choice][MAXWORDLEN-1] = '\0'; in merge_files()