Searched refs:zonefptr (Results 1 – 1 of 1) sorted by relevance
| /titanic_53/usr/src/cmd/rtc/ |
| H A D | rtc.c | 41 static FILE *zonefptr; variable 71 if ((zonefptr = fopen(zonefile, "r")) == NULL) { in open_zonefile() 80 if ((s = fgets(b, sizeof (b), zonefptr)) == NULL) in open_zonefile() 145 (void) fclose(zonefptr); in open_zonefile() 146 zonefptr = NULL; in open_zonefile() 166 if ((zonefptr = fopen(zonefile, "w")) == NULL) { in set_zone() 189 (void) fprintf(zonefptr, zone_comment, zonefile); in set_zone() 190 (void) fprintf(zonefptr, "zone_info=%s\n", zone_string); in set_zone() 191 (void) fprintf(zonefptr, "zone_lag=%ld\n", in set_zone() 193 (void) fclose(zonefptr); in set_zone() [all …]
|