Home | History | Annotate | Download | only in test

Lines Matching refs:fp

30   FILE *fp;
37 fp = fopen ("/usr/dict/words", "r");
38 if (fp == NULL) {
39 fp = fopen ("/usr/share/dict/words", "r");
40 if (fp == NULL)
45 while (fgets (buf, sizeof(buf), fp) != NULL)
66 fclose (fp);
74 fp = fopen ("/usr/dict/words", "r");
75 if (fp == NULL) {
76 fp = fopen ("/usr/share/dict/words", "r");
77 if (fp == NULL)
82 while (fgets (buf, sizeof(buf), fp) != NULL)
99 fclose (fp);