Searched refs:tzbuf (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/unbound/util/ |
H A D | log.c | 282 char tzbuf[16]; in log_vmsg() local 290 if(strftime(tzbuf, sizeof(tzbuf), "%z", tm_p) == 5) { in log_vmsg() 292 tzbuf[5] = tzbuf[4]; in log_vmsg() 293 tzbuf[4] = tzbuf[3]; in log_vmsg() 294 tzbuf[3] = ':'; in log_vmsg() 295 tzbuf[6] = 0; in log_vmsg() 298 tmbuf, (int)tv.tv_usec/1000, tzbuf, in log_vmsg()
|
/freebsd/bin/date/ |
H A D | date.c | 228 char fmtbuf[64], buf[64], tzbuf[8]; in printisodate() local 237 (void)strftime_ns(tzbuf, sizeof(tzbuf), "%z", lt, nsec); in printisodate() 238 memmove(&tzbuf[4], &tzbuf[3], 3); in printisodate() 239 tzbuf[3] = ':'; in printisodate() 240 strlcat(buf, tzbuf, sizeof(buf)); in printisodate()
|