Lines Matching defs:fp
175 FILE *fp;
180 if ((fp = fopen(file, "r")) == NULL) {
188 while (rhentp = tsol_fgetrhent(fp, &error)) {
198 (void) fclose(fp);
218 (void) fclose(fp);
405 FILE *fp;
409 if ((fp = fopen(file, "r")) == NULL) {
418 while (fgets(line, sizeof (line), fp) != NULL) {
442 (void) fclose(fp);
465 FILE *fp;
470 if ((fp = fopen(file, "r")) == NULL) {
478 while (tpentp = tsol_fgettpent(fp, &error)) {
489 (void) fclose(fp);
507 (void) fclose(fp);