Home | History | Annotate | Download | only in posix

Lines Matching refs:tt

82   if (!(TT.tz = getenv("TZ"))) TT.tz = (char *)1;
89 if (TT.tz) {
90 if (TT.tz != (char *)1) setenv("TZ", TT.tz, 1);
105 time_t tt;
110 // tt and ll are separate because we can't guarantee time_t is 64 bit (yet).
115 TT.nano *= 10;
116 if (isdigit(str[len])) TT.nano += str[len]-'0';
120 tt = ll;
121 gmtime_r(&tt, tm);
175 if (TT.showdate) {
176 if (TT.setfmt) {
177 char *s = strptime(TT.showdate, TT.setfmt+(*TT.setfmt=='+'), &tm);
180 } else if (parse_default(TT.showdate, &tm)) goto bad_showdate;
184 if (TT.file) {
187 xstat(TT.file, &st);
214 tv.tv_usec = TT.nano/1000;
226 error_exit("bad date '%s'", TT.showdate);