Lines Matching refs:fp_zone
208 FILE *fp_zone, *fp_cc; in get_tz_countries() local
220 if ((fp_zone = fopen(ZONE_SUN_TAB, "r")) == NULL) { in get_tz_countries()
226 (void) fclose(fp_zone); in get_tz_countries()
234 if (fgets(buff, sizeof (buff), fp_zone) == NULL) { in get_tz_countries()
235 if (feof(fp_zone) == 0) { in get_tz_countries()
427 (void) fclose(fp_zone); in get_tz_countries()
449 FILE *fp_zone; /* zone.tab */ in get_timezones_by_country() local
457 if ((fp_zone = fopen(ZONE_SUN_TAB, "r")) == NULL) in get_timezones_by_country()
463 if (fgets(buff, sizeof (buff), fp_zone) == NULL) { in get_timezones_by_country()
464 if (feof(fp_zone)) { in get_timezones_by_country()
628 (void) fclose(fp_zone); in get_timezones_by_country()