Symbol: strftime
bin/date/date.c
133
(void)strftime(buf, sizeof(buf), format, tp);
bin/ksh/lex.c
1255
strftime(strbuf, sizeof strbuf,
bin/ksh/lex.c
1274
strftime(strbuf, sizeof strbuf, tmpbuf,
bin/ksh/lex.c
1327
strftime(strbuf, sizeof strbuf, "%T",
bin/ksh/lex.c
1336
strftime(strbuf, sizeof strbuf,
bin/ksh/lex.c
1345
strftime(strbuf, sizeof strbuf, "%r",
bin/ksh/lex.c
1354
strftime(strbuf, sizeof strbuf, "%R",
bin/ls/print.c
261
if (strftime(f_date, sizeof(f_date), f_sectime ? "%b %e %H:%M:%S %Y" :
bin/pax/gen_subs.c
109
else if (strftime(f_date, sizeof(f_date), TIMEFMT(sbp->st_mtime, now),
bin/pax/gen_subs.c
162
else if (strftime(f_date, DATELEN, TIMEFMT(arcn->sb.st_mtime, now),
bin/ps/print.c
534
(void)strftime(buf, sizeof(buf) - 1, "%l:%M%p", tp);
bin/ps/print.c
536
(void)strftime(buf, sizeof(buf) - 1, "%a%I%p", tp);
bin/ps/print.c
538
(void)strftime(buf, sizeof(buf) - 1, "%e%b%y", tp);
bin/ps/print.c
556
(void)strftime(buf, sizeof(buf) -1, "%c",
games/pom/pom.c
91
strftime(buf, sizeof(buf), "%a %Y %b %e %H:%M:%S (%Z)",
include/time.h
120
size_t strftime(char *__restrict, size_t, const char *__restrict,
lib/libc/hidden/time.h
43
PROTO_NORMAL(strftime);
lib/libc/time/asctime.c
95
(void) strftime(year, sizeof year, "%Y", timeptr);
lib/libc/time/strftime.c
127
DEF_STRONG(strftime);
lib/libc/time/strftime_l.c
13
return strftime(s, maxsize, format, t);
libexec/getty/main.c
569
if (strftime(db, sizeof(db),
regress/usr.bin/ssh/timestamp.c
42
if (strftime(buf, sizeof buf, "%Y%m%dT%H%M%S", tm) <= 0)
sbin/isakmpd/policy.c
1737
strftime(mytimeofday, 14, "%Y%m%d%H%M%S", tm);
sbin/isakmpd/policy.c
1747
strftime(mytimeofday, 14, "%Y%m%d%H%M%S", tm);
sbin/isakmpd/x509.c
234
strftime(before, 14, "%Y%m%d%H%M%S", ltm);
sbin/isakmpd/x509.c
333
strftime(after, 14, "%Y%m%d%H%M%S", ltm);
sbin/route/route.c
1887
(void)strftime(buf, sizeof(buf), fmt, tp);
sbin/shutdown/shutdown.c
227
strftime(when, sizeof(when), "%a %b %e %T %Z %Y", lt);
sbin/shutdown/shutdown.c
349
strftime(when, sizeof(when), "%H:%M %Z", lt);
sbin/shutdown/shutdown.c
571
strftime(when, sizeof(when), "%a %b %e %T %Z %Y", lt);
sbin/shutdown/shutdown.c
609
strftime(when, sizeof(when), "at %H:%M %Z", tm);
sbin/unwind/libunbound/sldns/wire2str.c
1693
strftime(date_buf, 15, "%Y%m%d%H%M%S", &tm)) {
sbin/unwind/libunbound/util/log.c
289
strftime(tmbuf, sizeof(tmbuf), "%Y-%m-%dT%H:%M:%S", tm_p);
sbin/unwind/libunbound/util/log.c
290
if(strftime(tzbuf, sizeof(tzbuf), "%z", tm_p) == 5) {
sbin/unwind/libunbound/util/log.c
310
if(log_time_asc && localtime_r(&now, &tm) && strftime(tmbuf,
sbin/unwind/libunbound/validator/val_sigcrypt.c
1405
if(gmtime_r(&te, &tm) && strftime(expi_buf, 15, "%Y%m%d%H%M%S", &tm)
sbin/unwind/libunbound/validator/val_sigcrypt.c
1406
&&gmtime_r(&ti, &tm) && strftime(incep_buf, 15, "%Y%m%d%H%M%S", &tm)
sbin/unwind/libunbound/validator/val_sigcrypt.c
1407
&&gmtime_r(&tn, &tm) && strftime(now_buf, 15, "%Y%m%d%H%M%S", &tm)) {
usr.bin/at/at.c
364
strftime(timestr, TIMESIZE, "%a %b %e %T %Y", &runtime);
usr.bin/at/at.c
407
strftime(timestr, TIMESIZE, "%a %b %e %T %Y", &runtime);
usr.bin/at/at.c
417
strftime(timestr, TIMESIZE, "%b %e, %Y %R", &runtime);
usr.bin/awk/run.c
2267
} while (strftime(buf, sz, fmt, tm) == 0 && fmt[0] != '\0');
usr.bin/calendar/day.c
106
l = strftime(buf, sizeof(buf), "%A", &tm);
usr.bin/calendar/day.c
118
l = strftime(buf, sizeof(buf), "%b", &tm);
usr.bin/calendar/day.c
127
l = strftime(buf, sizeof(buf), "%B", &tm);
usr.bin/calendar/day.c
174
header[5].iov_len = strftime(dayname, sizeof(dayname), "%A", tp);
usr.bin/calendar/day.c
83
if (strftime(m->print_date, sizeof(m->print_date),
usr.bin/calendar/day.c
97
l = strftime(buf, sizeof(buf), "%a", &tm);
usr.bin/chpass/util.c
51
(void) strftime(buf, len, "%B %d, %Y", tp);
usr.bin/cvs/annotate.c
228
strftime(date, sizeof(date), "%d-%b-%y",
usr.bin/cvs/checkout.c
575
(void)strftime(sticky, sizeof(sticky),
usr.bin/cvs/checkout.c
579
(void)strftime(sticky, sizeof(sticky),
usr.bin/cvs/client.c
505
(void)strftime(sticky, sizeof(sticky),
usr.bin/cvs/client.c
670
(void)strftime(sticky, sizeof(sticky),
usr.bin/cvs/client.c
750
(void)strftime(sticky, sizeof(sticky),
usr.bin/cvs/diff.c
398
strftime(tbuf, sizeof(tbuf),
usr.bin/cvs/diff.c
435
strftime(tbuf, sizeof(tbuf),
usr.bin/cvs/diff_internals.c
900
(void)strftime(buf, sizeof(buf), "%b %G %H:%M:%S -0000", &t);
usr.bin/cvs/diff_internals.c
913
(void)strftime(buf, sizeof(buf), "%b %G %H:%M:%S -0000", &t);
usr.bin/cvs/diff_internals.c
943
(void)strftime(buf, sizeof(buf), "%a %b %e %H:%M:%S %G", &t);
usr.bin/cvs/diff_internals.c
953
(void)strftime(buf, sizeof(buf), "%a %b %e %H:%M:%S %G", &t);
usr.bin/cvs/entries.c
545
(void)strftime(sticky, sizeof(sticky),
usr.bin/cvs/getlog.c
357
strftime(timeb, sizeof(timeb), "%Y/%m/%d %H:%M:%S", &rdp->rd_date);
usr.bin/cvs/history.c
144
strftime(timebuf, sizeof(timebuf),
usr.bin/cvs/rcs.c
2326
if (strftime(buf, sizeof(buf),
usr.bin/cvs/rcs.c
2343
if (strftime(buf, sizeof(buf),
usr.bin/cvs/rcs.c
2419
if (strftime(buf, sizeof(buf),
usr.bin/cvs/status.c
259
(void)strftime(datetmp, sizeof(datetmp),
usr.bin/dig/dig.c
195
if (strftime(time_str, sizeof(time_str),
usr.bin/dig/lib/dns/dns_time.c
39
if ((l = strftime(buf, sizeof(buf), "%Y%m%d%H%M%S", tm)) == 0)
usr.bin/dig/lib/dns/rdata/generic/keydata_65533.c
38
flen = strftime(buf, len, "%a, %d %b %Y %H:%M:%S GMT",
usr.bin/dig/lib/isc/log.c
868
strftime(time_string, sizeof(time_string),
usr.bin/find/ls.c
95
if (strftime(f_date, sizeof(f_date),
usr.bin/ftp/util.c
1165
return (strftime(tmbuf, len, "%a, %d %h %Y %T GMT", &tm));
usr.bin/kdump/ktrstruct.c
159
(void)strftime(timestr, sizeof(timestr), TIME_FORMAT,
usr.bin/last/last.c
233
strftime(tim, sizeof tim,
usr.bin/lock/lock.c
138
strftime(date, sizeof(date), "%c", timp);
usr.bin/make/timestamp.c
46
strftime(buf, sizeof buf, "%H:%M:%S." PLACEHOLDER "%b %d, %Y", parts);
usr.bin/mandoc/mandoc.c
137
if ((ssz = strftime(p, 10 + 1, "%B ", tm)) == 0)
usr.bin/mandoc/mandoc.c
155
if (strftime(p, 4 + 1, "%Y", tm) == 0)
usr.bin/mg/grep.c
225
strftime(timestr, sizeof(timestr), "%a %b %e %T %Y", localtime(&t));
usr.bin/newsyslog/newsyslog.c
413
l = strftime(daytime, sizeof(daytime), "%FT%T", tm);
usr.bin/pr/pr.c
1497
if (strftime(buf, HDBUF, TIMEFMT, timeptr) == 0) {
usr.bin/rcs/ci.c
475
strftime(dbuf1, sizeof(dbuf1), fmt, t);
usr.bin/rcs/ci.c
477
strftime(dbuf2, sizeof(dbuf2), fmt, t_head);
usr.bin/rcs/diff.c
928
(void)strftime(buf, sizeof(buf),
usr.bin/rcs/diff.c
943
(void)strftime(buf, sizeof(buf),
usr.bin/rcs/rcs.c
1598
strftime(buf, sizeof(buf),
usr.bin/rcs/rcs.c
1620
strftime(buf, sizeof(buf), "%B", &tb);
usr.bin/rcs/rcs.c
1625
strftime(buf, sizeof(buf), " %Y ", &tb);
usr.bin/rcs/rcs.c
1660
strftime(buf, sizeof(buf), "%Y/%m/%d %H:%M:%S", &tb);
usr.bin/rcs/rlog.c
532
(void)strftime(timeb, sizeof(timeb), fmt, &t);
usr.bin/rusers/rusers.c
645
strftime(date, sizeof(date), "%h %d %R",
usr.bin/signify/zsig.c
271
strftime(date, sizeof date, "%Y-%m-%dT%H:%M:%SZ", gmtime(&clock));
usr.bin/ssh/krl.c
820
strftime(ts, nts, "%Y%m%dT%H%M%S", tm);
usr.bin/ssh/misc.c
2513
strftime(buf, len, "%Y-%m-%dT%H:%M:%S", &tm);
usr.bin/ssh/sftp-common.c
242
sz = strftime(tbuf, sizeof tbuf, "%b %e %H:%M", ltime);
usr.bin/ssh/sftp-common.c
244
sz = strftime(tbuf, sizeof tbuf, "%b %e %Y", ltime);
usr.bin/ssh/sftp-server.c
1005
strftime(buf, sizeof(buf), "%Y%m%d-%H:%M:%S",
usr.bin/ssh/sftp-server.c
1058
strftime(buf, sizeof(buf), "%Y%m%d-%H:%M:%S",
usr.bin/ssh/sftp-server.c
1466
strftime(buf, sizeof(buf), "%Y%m%d-%H:%M:%S",
usr.bin/stat/stat.c
639
(void)strftime(path, sizeof(path), timefmt, tm);
usr.bin/tmux/format.c
3971
strftime(s, sizeof s, "%H:%M:%S", &tm);
usr.bin/tmux/format.c
3973
strftime(s, sizeof s, "%H:%M", &tm);
usr.bin/tmux/format.c
3980
strftime(s, sizeof s, "%a%d", &tm);
usr.bin/tmux/format.c
3987
strftime(s, sizeof s, "%d%b", &tm);
usr.bin/tmux/format.c
3992
strftime(s, sizeof s, "%h%y", &tm);
usr.bin/tmux/format.c
4082
strftime(s, sizeof s, time_format, &tm);
usr.bin/tmux/format.c
5528
if (strftime(expanded, sizeof expanded, fmt, &es->tm) == 0) {
usr.bin/tmux/window-clock.c
248
strftime(tim, sizeof tim, timeformat, localtime(&t));
usr.bin/tmux/window-clock.c
258
strftime(tim, sizeof tim, timeformat, tm);
usr.bin/ts/ts.c
201
while (strftime(outbuf, obsize, buf, tm) == 0) {
usr.bin/w/pr_time.c
71
(void)strftime(buf, sizeof buf -1, fmt, tp);
usr.bin/w/w.c
431
(void)strftime(buf, sizeof(buf) - 1, "%l:%M%p", localtime(nowp));
usr.sbin/ac/ac.c
285
(void)strftime(date, sizeof (date), "%b %e total",
usr.sbin/bgpd/mrt.c
1136
if (strftime(MRT2MC(mrt)->file, sizeof(MRT2MC(mrt)->file),
usr.sbin/btrace/btrace.c
1279
strftime(buf, sizeof(buf), ba2str(ba, dtev), tm);
usr.sbin/dhcpd/db.c
84
rsltsz = strftime(tbuf, sizeof(tbuf), DB_TIMEFMT,
usr.sbin/dhcpd/db.c
89
rsltsz = strftime(tbuf, sizeof(tbuf), DB_TIMEFMT,
usr.sbin/httpd/server_file.c
562
strftime(tmstr, sizeof(tmstr), "%d-%h-%Y %R", &tm);
usr.sbin/httpd/server_http.c
1878
if (strftime(tstamp, sizeof(tstamp), "%d/%b/%Y:%H:%M:%S %z", tm) == 0)
usr.sbin/httpd/server_http.c
799
return (strftime(tmbuf, len, "%a, %d %h %Y %T GMT", &tm));
usr.sbin/ldapd/attributes.c
256
strftime(tmbuf, sizeof(tmbuf), "%Y%m%d%H%M%SZ", gmt);
usr.sbin/mrouted/main.c
567
strftime(tbuf, sizeof(tbuf), "%X.%%03d ", thyme);
usr.sbin/ndp/ndp.c
580
strftime(buf, sizeof(buf), "%H:%M:%S", tm);
usr.sbin/npppctl/npppctl.c
287
strftime(time_buf, sizeof(time_buf), "%Y/%m/%d %T", &tm);
usr.sbin/nsd/rdata.c
450
if (!strftime(buf, sizeof(buf), "%Y%m%d%H%M%S", tm))
usr.sbin/nsd/util.c
176
strftime(tmbuf, sizeof(tmbuf), "%Y-%m-%dT%H:%M:%S",
usr.sbin/nsd/util.c
178
if(strftime(tzbuf, sizeof(tzbuf), "%z", tm_p) == 5) {
usr.sbin/nsd/util.c
194
strftime(tmbuf, sizeof(tmbuf), "%Y-%m-%d %H:%M:%S",
usr.sbin/nsd/xfrd.c
2410
if(!strftime(buf, sizeof(buf), "%Y-%m-%dT%H:%M:%S", tm))
usr.sbin/ntpd/constraint.c
1070
if (strftime(timebuf1, sizeof(timebuf1), X509_DATE, tm) == 0)
usr.sbin/ntpd/constraint.c
1072
if (strftime(timebuf2, sizeof(timebuf2), X509_DATE,
usr.sbin/ntpd/constraint.c
1083
if (strftime(timebuf1, sizeof(timebuf1), X509_DATE, tm) == 0)
usr.sbin/ntpd/constraint.c
1085
if (strftime(timebuf2, sizeof(timebuf2), X509_DATE,
usr.sbin/ntpd/ntpd.c
551
strftime(buf, sizeof(buf), "%a %b %e %H:%M:%S %Z %Y",
usr.sbin/pppd/chat/chat.c
1322
strftime (report_buffer, 20, "%b %d %H:%M:%S ", tm_now);
usr.sbin/radiusctl/radiusctl.c
1019
strftime(buf, bufsiz, "%F %T", &tm);
usr.sbin/radiusctl/radiusctl.c
1032
strftime(buf, bufsiz, "%l:%M%p", &tm);
usr.sbin/radiusctl/radiusctl.c
1034
strftime(buf, bufsiz, "%e%b%y", &tm);
usr.sbin/radiusctl/radiusctl.c
1036
strftime(buf, bufsiz, "%m/%d", &tm);
usr.sbin/radiusd/log.c
90
strftime(fmtbuf, sizeof(fmtbuf), "%Y-%m-%d %H:%M:%S:", &tm);
usr.sbin/rdate/rdate.c
195
(void) strftime(buf, sizeof buf, "%a %b %e %H:%M:%S %Z %Y\n", ltm);
usr.sbin/relayd/relay_http.c
1051
return (strftime(tmbuf, len, "%a, %d %h %Y %T GMT", &tm));
usr.sbin/rpki-client/output-json.c
34
strftime(tbuf, sizeof tbuf, "%FT%TZ", tp);
usr.sbin/rpki-client/output.c
260
strftime(tbuf, sizeof tbuf, "%a %b %e %H:%M:%S UTC %Y", tp);
usr.sbin/rpki-client/print.c
96
strftime(buf, sizeof(buf), "%a %d %b %Y %T %z", &tm);
usr.sbin/slaacctl/slaacctl.c
224
strftime(whenbuf, sizeof(whenbuf), "%F %T", t);
usr.sbin/slaacctl/slaacctl.c
294
strftime(whenbuf, sizeof(whenbuf), "%F %T", t);
usr.sbin/slaacctl/slaacctl.c
323
strftime(whenbuf, sizeof(whenbuf), "%F %T", t);
usr.sbin/slaacctl/slaacctl.c
361
strftime(whenbuf, sizeof(whenbuf), "%F %T", t);
usr.sbin/syslogd/syslogd.c
1792
l = strftime(timestamp, 33, "%FT%T", tm);
usr.sbin/tcpdump/util.c
136
strftime(buf, TSBUFLEN, "%b %d %T", priv_localtime(&t));
usr.sbin/unbound/daemon/remote.c
3398
if(!strftime(tmbuf, sizeof(tmbuf), "%Y-%m-%dT%H:%M:%S", tm_p))
usr.sbin/unbound/sldns/wire2str.c
1693
strftime(date_buf, 15, "%Y%m%d%H%M%S", &tm)) {
usr.sbin/unbound/util/log.c
289
strftime(tmbuf, sizeof(tmbuf), "%Y-%m-%dT%H:%M:%S", tm_p);
usr.sbin/unbound/util/log.c
290
if(strftime(tzbuf, sizeof(tzbuf), "%z", tm_p) == 5) {
usr.sbin/unbound/util/log.c
310
if(log_time_asc && strftime(tmbuf, sizeof(tmbuf), "%b %d %H:%M:%S",
usr.sbin/unbound/validator/val_sigcrypt.c
1405
if(gmtime_r(&te, &tm) && strftime(expi_buf, 15, "%Y%m%d%H%M%S", &tm)
usr.sbin/unbound/validator/val_sigcrypt.c
1406
&&gmtime_r(&ti, &tm) && strftime(incep_buf, 15, "%Y%m%d%H%M%S", &tm)
usr.sbin/unbound/validator/val_sigcrypt.c
1407
&&gmtime_r(&tn, &tm) && strftime(now_buf, 15, "%Y%m%d%H%M%S", &tm)) {