Searched refs:time_buf (Results 1 - 22 of 22) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dtime.c39 Conv_time_buf_t *time_buf)
63 (void) snprintf(time_buf->buf, sizeof (time_buf->buf),
66 (void) snprintf(time_buf->buf, sizeof (time_buf->buf),
69 (void) snprintf(time_buf->buf, sizeof (time_buf->buf),
72 return ((const char *)time_buf);
38 conv_time(struct timeval *oldtime, struct timeval *newtime, Conv_time_buf_t *time_buf) argument
/illumos-gate/usr/src/cmd/acct/
H A Dacctcon1.c86 static char time_buf[50]; variable
144 cftime(time_buf, DATE_FMT, &wb.ut_xtime);
145 printf("\t%s", time_buf);
231 cftime(time_buf, DATE_FMT, &wb.ut_xtime);
232 fprintf(stream, "\t%s", time_buf);
276 cftime(time_buf, DATE_FMT, &wb.ut_xtime);
281 time_buf);
356 cftime(time_buf, DATE_FMT, &told);
357 fprintf(stderr, "The old time is: %s", time_buf);
358 cftime(time_buf, DATE_FM
[all...]
H A Dacctcon.c84 static char time_buf[50]; variable
210 cftime(time_buf, DATE_FMT, &wb.ut_xtime);
211 fprintf(stream, "\t%s", time_buf);
254 cftime(time_buf, DATE_FMT, &wb.ut_xtime);
259 time_buf);
335 cftime(time_buf, DATE_FMT, &told);
336 fprintf(stderr, "acctcon: bad times: old: %s", time_buf);
337 cftime(time_buf, DATE_FMT, &tnew);
338 fprintf(stderr, "new: %s", time_buf);
394 cftime(time_buf, DATE_FM
[all...]
H A Dfwtmp.c40 static char time_buf[50]; variable
78 cftime(time_buf, DATE_FMT, &Ut.ut_xtime);
98 time_buf);
H A Dacctcom.c50 static char time_buf[50]; variable
337 cftime(time_buf, DATE_FMT, &t);
338 fprintf(stdout, "\nACCOUNTING RECORDS FROM: %s", time_buf);
350 cftime(time_buf, DATE_FMT, &ts_a);
351 fprintf(stdout, "START AFT: %s", time_buf);
355 cftime(time_buf, DATE_FMT, &ts_b);
356 fprintf(stdout, "START BEF: %s", time_buf);
360 cftime(time_buf, DATE_FMT, &te_a);
361 fprintf(stdout, "END AFTER: %s", time_buf);
365 cftime(time_buf, DATE_FM
[all...]
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_send.c81 char time_buf[40]; local
133 cftime(time_buf, "%c", &tod);
136 progname, myhostname, time_buf);
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_util.c212 static char time_buf[24]; local
218 if (strftime(time_buf, sizeof (time_buf), "%m/%d/%Y %R",
222 return (time_buf);
/illumos-gate/usr/src/cmd/wall/
H A Dwall.c80 static char time_buf[50]; variable
231 (void) strftime(time_buf, sizeof (time_buf),
421 who, line, systm, time_buf);
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c101 char time_buf[40]; local
359 (void) strftime(time_buf, sizeof (time_buf),
364 &ownname[0], thissys, oterminal, time_buf);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfiles.c36 static char time_buf[50]; variable
154 (void) strftime(time_buf, sizeof (time_buf),
158 rp->secure->size, time_buf);
H A Dexec.c263 static char time_buf[50]; variable
347 (void) strftime(time_buf, sizeof (time_buf),
381 (void) strftime(time_buf, sizeof (time_buf),
1084 av[ac++] = arg_string(TRUSTED, "%s", time_buf);
1096 av[ac++] = arg_string(TRUSTED, "%s", time_buf);
/illumos-gate/usr/src/cmd/news/
H A Dnews.c88 char time_buf[50]; /* holds date and time string */ variable
294 cftime(time_buf, DATE_FMT, &sbuf.st_mtime);
295 printf (" %s\n", time_buf);
/illumos-gate/usr/src/cmd/who/
H A Dwho.c143 static char time_buf[128]; /* holds date and time string */ variable
529 (void) strftime(time_buf, sizeof (time_buf),
566 w, device, time_buf);
/illumos-gate/usr/src/cmd/bart/
H A Dcreate.c317 char time_buf[1024]; local
322 (void) strftime(time_buf, sizeof (time_buf), "%A, %B %d, %Y (%T)", tm);
323 (void) printf("! %s\n", time_buf);
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dlogging.c285 char time_buf[256]; local
310 time_buf[0]='\0';
321 sprintf(time_buf, "%02d-%s-%4d %02d:%02d:%02d.%03ld ",
377 (chan->flags & LOG_TIMESTAMP) ? time_buf : "",
412 (chan->flags & LOG_TIMESTAMP) ? time_buf : "",
/illumos-gate/usr/src/cmd/pr/
H A Dpr.c123 static char time_buf[50]; /* array to hold the time and date */ variable
1437 (void) cftime(time_buf,
1440 now = time_buf;
1445 (void) cftime(time_buf, dcgettext(NULL, FORMAT, LC_TIME),
1447 return (time_buf);
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c602 char time_buf[TIME_MAX]; /* array to hold date and time */ local
618 cftime(time_buf, FORMAT, &ltime);
634 time_buf);
641 time_buf);
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c800 char time_buf[BUFSIZ]; local
820 (void) cftime(time_buf, dcmsg, &stb1.st_mtime);
823 time_buf);
826 time_buf);
827 (void) cftime(time_buf, dcmsg, &stb2.st_mtime);
830 time_buf);
833 time_buf);
/illumos-gate/usr/src/cmd/ls/
H A Dls.c343 static char time_buf[FMTSIZE]; /* array to hold day and time */ variable
1331 curcol += printf("%s", time_buf);
2647 (void) strftime(time_buf, sizeof (time_buf), fmt_buf,
2656 (void) strftime(time_buf, sizeof (time_buf),
2708 (void) printf(" timestamp: atime %s\n", time_buf);
2710 (void) printf(" timestamp: ctime %s\n", time_buf);
2712 (void) printf(" timestamp: mtime %s\n", time_buf);
2719 p->extm[i].name, time_buf);
[all...]
/illumos-gate/usr/src/cmd/cfgadm/
H A Dcfgadm.c1391 char time_buf[50]; /* array to hold day and time */ local
1405 (void) strftime(time_buf, sizeof (time_buf),
1408 (void) strftime(time_buf, sizeof (time_buf),
1411 (void) sprintf(lp, "%-*s", width, time_buf);
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c190 char time_buf[_SZ_TIME_BUF]; variable
1757 (void) strftime(time_buf, _SZ_TIME_BUF, fmt, &tm);
1759 return (time_buf);
/illumos-gate/usr/src/cmd/svc/startd/
H A Dgraph.c3587 char down_buf[256], time_buf[256]; local
3703 (void) snprintf(time_buf, sizeof (time_buf),
3706 time_buf[0] = '\0';
3708 (void) printf("%s%s\n", down_buf, time_buf);

Completed in 129 milliseconds