Home
last modified time | relevance | path

Searched refs:zonefptr (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/rtc/
H A Drtc.c46 static FILE *zonefptr; variable
78 if ((zonefptr = fopen(zonefile, "r")) == NULL) { in open_zonefile()
87 if ((s = fgets(b, sizeof (b), zonefptr)) == NULL) in open_zonefile()
152 (void) fclose(zonefptr); in open_zonefile()
153 zonefptr = NULL; in open_zonefile()
193 if ((zonefptr = fopen(zonefile, "w")) == NULL) { in set_zone()
218 (void) fprintf(zonefptr, zone_comment, zonefile); in set_zone()
219 (void) fprintf(zonefptr, "zone_info=%s\n", zone_string); in set_zone()
220 (void) fprintf(zonefptr, "zone_lag=%ld\n", current_lag); in set_zone()
221 (void) fclose(zonefptr); in set_zone()
[all …]