Searched refs:tmnow (Results 1 - 6 of 6) sorted by relevance
/netbsd-current/lib/libc/time/ |
H A D | getdate.c | 67 static struct tm rtm, tmnow; local 124 tmnow = *tmp; 145 rtm.tm_year = tmnow.tm_year; 146 rtm.tm_mon = tmnow.tm_mon; 147 rtm.tm_mday = tmnow.tm_mday + 148 (rtm.tm_wday - tmnow.tm_wday + 7) % 7; 157 rtm.tm_year = tmnow.tm_year + 158 ((rtm.tm_mon < tmnow.tm_mon)? 1 : 0); 189 rtm.tm_hour = tmnow.tm_hour; 190 rtm.tm_min = tmnow [all...] |
/netbsd-current/lib/libc/gen/ |
H A D | syslog_ss.c | 51 gmtime_r(&now, &tmnow); 52 prlen = strftime(p, tbuf_left, "%FT%TZ", &tmnow);
|
H A D | syslog.c | 86 struct tm tmnow; local 96 localtime_r(&now, &tmnow); 98 prlen = strftime(p, tbuf_left, "%FT%T", &tmnow); 102 prlen = strftime(p, tbuf_left-1, "%z", &tmnow);
|
/netbsd-current/external/bsd/dhcpcd/dist/src/ |
H A D | logerr.c | 111 struct tm tmnow; local 118 if (localtime_r(&now, &tmnow) == NULL) 120 if (strftime(buf, sizeof(buf), "%b %d %T ", &tmnow) == 0)
|
/netbsd-current/usr.bin/newsyslog/ |
H A D | newsyslog.c | 713 struct tm *tmnow; local 723 tmnow = localtime(&now); 726 "%FT%T", tmnow); 730 "%z", tmnow);
|
/netbsd-current/external/mpl/bind/dist/bin/dig/ |
H A D | dig.c | 345 struct tm tmnow; local 381 (void)localtime_r(&tnow, &tmnow); 384 "%a %b %d %H:%M:%S %Z %Y", &tmnow) > 0U)
|
Completed in 289 milliseconds