Lines Matching refs:choice
296 int choice; in merge_files() local
325 choice = 0; in merge_files()
328 if (strcmp(words[choice], words[ti]) > 0) in merge_files()
329 choice = ti; 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()
339 (void) fclose(tmpfp[choice]); in merge_files()
340 tmpfp[choice] = tmpfp[tmpfp_idx - 1]; in merge_files()
343 words[choice][MAXWORDLEN-1] = '\0'; in merge_files()