Lines Matching refs:fp_zone
206 FILE *fp_zone, *fp_cc; in get_tz_countries() local
222 if ((fp_zone = fopen(ZONE_SUN_TAB, "r")) == NULL) { in get_tz_countries()
228 (void) fclose(fp_zone); in get_tz_countries()
236 if (fgets(buff, sizeof (buff), fp_zone) == NULL) { in get_tz_countries()
237 if (feof(fp_zone) == 0) { in get_tz_countries()
429 (void) fclose(fp_zone); in get_tz_countries()
451 FILE *fp_zone; /* zone.tab */ in get_timezones_by_country() local
459 if ((fp_zone = fopen(ZONE_SUN_TAB, "r")) == NULL) in get_timezones_by_country()
465 if (fgets(buff, sizeof (buff), fp_zone) == NULL) { in get_timezones_by_country()
466 if (feof(fp_zone)) { in get_timezones_by_country()
630 (void) fclose(fp_zone); in get_timezones_by_country()