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

/illumos-gate/usr/src/cmd/rtc/
H A Drtc.c41 static FILE *zonefptr; variable
71 if ((zonefptr = fopen(zonefile, "r")) == NULL) {
80 if ((s = fgets(b, sizeof (b), zonefptr)) == NULL)
145 (void) fclose(zonefptr);
146 zonefptr = NULL;
166 if ((zonefptr = fopen(zonefile, "w")) == NULL) {
189 (void) fprintf(zonefptr, zone_comment, zonefile);
190 (void) fprintf(zonefptr, "zone_info=%s\n", zone_string);
191 (void) fprintf(zonefptr, "zone_lag=%ld\n",
193 (void) fclose(zonefptr);
[all...]

Completed in 57 milliseconds