Lines Matching refs:choice
298 int choice;
327 choice = 0;
330 if (strcmp(words[choice], words[ti]) > 0)
331 choice = ti;
333 (void) Chomp(words[choice]);
334 if (words[choice][0] != '\0' &&
335 strcmp(lastword, words[choice]) != 0) {
336 (void) PutPW(pwp, words[choice]);
337 (void) strncpy(lastword, words[choice], MAXWORDLEN);
340 if (fgets(words[choice], MAXWORDLEN, tmpfp[choice]) == NULL) {
341 (void) fclose(tmpfp[choice]);
342 tmpfp[choice] = tmpfp[tmpfp_idx - 1];
345 words[choice][MAXWORDLEN-1] = '\0';