Searched refs:tzenv (Results 1 – 2 of 2) sorted by relevance
159 static char tzenv[BUFSIZ]; variable306 while (fgets(tzenv, BUFSIZ, fp)) { in main()307 if (tzenv[strlen(tzenv) - 1] == '\n') in main()308 tzenv[strlen(tzenv) - 1] = '\0'; in main()309 if (!strncmp(TZSTR, tzenv, strlen(TZSTR))) { in main()310 putenv(parse(tzenv)); in main()
438 char *tzenv; in doit() local1137 if (tzenv = getenv("TZ")) { in doit()1138 tz_len = strlen(tzenv) + strlen(tzstr) + 1; in doit()1141 (void) snprintf(tz, tz_len, "%s%s", tzstr, tzenv); in doit()