HomeSort by: relevance | last modified time | path
    Searched refs:strftime (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/lib/libc/time/
Makefile.inc 5 SRCS+= asctime.c difftime.c localtime.c getdate.c strftime.c strptime.c
6 MAN+= ctime.3 getdate.3 offtime.3 strftime.3 strptime.3 \
27 strftime.3 strftime_z.3 \
28 strftime.3 strftime_l.3 \
29 strftime.3 strftime_lz.3 \
41 COPTS.strftime.c = -Wno-format-nonliteral
Makefile 216 # -DDEPRECATE_TWO_DIGIT_YEARS for optional runtime warnings about strftime
429 # to the end of the "CFLAGS=" line. This causes "strftime" to always return
578 TZDOBJS= zdump.o localtime.o strftime.o
579 DATEOBJS= date.o localtime.o strftime.o
580 LIBSRCS= localtime.c asctime.c difftime.c strftime.c
581 LIBOBJS= localtime.o asctime.o difftime.o strftime.o
620 strftime.c tzfile.h zdump.c zic.c
638 private.h southamerica strftime.c theory.html \
1363 strftime.o: localtime.c private.h tzdir.h tzfile.h
private.h 707 # undef strftime
708 # define strftime tz_strftime macro
768 size_t strftime(char *restrict, size_t, char const *restrict,
993 /* strftime.c sometimes needs access to timeoff if it is not already public.
994 tz_private_timeoff should be used only by localtime.c and strftime.c. */
strftime.c 1 /* $NetBSD: strftime.c,v 1.57 2025/01/23 22:44:22 christos Exp $ */
35 static char elsieid[] = "@(#)strftime.c 7.64";
36 static char elsieid[] = "@(#)strftime.c 8.3";
38 __RCSID("$NetBSD: strftime.c,v 1.57 2025/01/23 22:44:22 christos Exp $");
58 ** We don't use these extensions in strftime operation even when
196 /* Just call strftime, as only the C locale is supported. */
197 return strftime(s, maxsize, format, t);
213 (void) fprintf(stderr, "strftime format \"%s\" ", format);
365 ** strftime version 3.0. That is, "%k" and
387 ** strftime version 3.0. That is, "%k" an
789 strftime(char *restrict s, size_t maxsize, char const *restrict format, function in typeref:typename:size_t
    [all...]
  /src/usr.bin/w/
pr_time.c 69 (void)strftime(buf, sizeof(buf), "%d%b%y", tp);
72 (void)strftime(buf, sizeof(buf), "%a%I%p", tp);
75 (void)strftime(buf, sizeof(buf), "%l:%M%p", tp);
  /src/usr.bin/chpass/
util.c 62 (void) strftime(buf, len, "%B %d, %Y", tp);
  /src/lib/libc/gen/
syslog_ss.c 53 prlen = strftime(p, tbuf_left, "%FT%TZ", &tmnow);
syslog.c 93 /* strftime() implies tzset(), localtime_r() doesn't. */
98 prlen = strftime(p, tbuf_left, "%FT%T", &tmnow);
102 prlen = strftime(p, tbuf_left-1, "%z", &tmnow);
103 /* strftime gives eg. "+0200", but we need "+02:00" */
  /src/usr.bin/systat/
ps.c 343 strftime(startstr, sizeof(startstr) - 1, "%l:%M%p", tp);
345 strftime(startstr, sizeof(startstr) - 1, "%a%I%p", tp);
347 strftime(startstr, sizeof(startstr) - 1, "%e%b%y", tp);
  /src/bin/pax/
gen_subs.c 96 error = strftime(buf, buflen, OLDFRMT, &tm);
98 error = strftime(buf, buflen, CURFRMT, &tm);
  /src/games/pom/
pom.c 105 strftime(buf, sizeof(buf), "%a %Y %b %e %H:%M:%S (%Z)",
  /src/sbin/dump/
optr.c 221 if (strftime(then, STAMP_LENGTH, time_string, &tm_time) == 0) {
223 strftime(then, STAMP_LENGTH, time_string, &tm_time);
  /src/tools/make/
configure.ac 51 AC_CHECK_FUNCS([setenv strdup strerror strftime vsnprintf])
  /src/usr.bin/at/
at.c 473 (void)strftime(timestr, TIMESIZE, "%T %F", &runtime);
475 (void)strftime(timestr, TIMESIZE, "%X %x", &runtime);
  /src/usr.bin/last/
last.c 82 #define TFMT "%a %b %d %R" /* strftime format string */
83 #define LTFMT "%a %b %d %Y %T" /* strftime long format string */
84 #define TFMTS "%R" /* strftime format string - time only */
85 #define LTFMTS "%T" /* strftime long format string - " */
367 strftime(tbuf, sizeof(tbuf),
  /src/usr.bin/rwho/
rwho.c 201 (void)strftime(cbuf, sizeof(cbuf), "%c", localtime(&t));
  /src/usr.sbin/fssconfig/
fssconfig.c 269 strftime(tmbuf, sizeof(tmbuf), "%F %T", localtime(&t));
  /src/libexec/httpd/
dir-index-bozo.c 190 strftime(buf, sizeof buf, "%d-%b-%Y %R", gmtime(&sb.st_mtime));
  /src/include/
time.h 100 size_t strftime(char * __restrict, size_t, const char * __restrict,
  /src/usr.bin/unzip/
unzip.c 815 strftime(buf, sizeof(buf), "%m-%d-%G %R", tm);
817 strftime(buf, sizeof(buf), "%m-%d-%g %R", tm);
  /src/usr.bin/make/unit-tests/
varmod-gmtime.mk 4 # using strftime(3) in UTC.
varmod-localtime.mk 4 # using strftime(3) in local time.
varmod-mtime.mk 6 # Note: strftime() uses mktime() for %s and mktime() assumes localtime
  /src/usr.bin/xlint/llib/
llib-lstdc 253 size_t (strftime)(char *s, size_t maxsize, const char *format,
  /src/sbin/dmesg/
dmesg.c 365 strftime(tbuf, sizeof(tbuf),

Completed in 23 milliseconds

1 2 3