Home
last modified time | relevance | path

Searched refs:time_buf (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dtime.c39 Conv_time_buf_t *time_buf) in conv_time() argument
63 (void) snprintf(time_buf->buf, sizeof (time_buf->buf), in conv_time()
66 (void) snprintf(time_buf->buf, sizeof (time_buf->buf), in conv_time()
69 (void) snprintf(time_buf->buf, sizeof (time_buf->buf), in conv_time()
72 return ((const char *)time_buf); in conv_time()
/illumos-gate/usr/src/cmd/acct/
H A Dacctcon1.c86 static char time_buf[50]; variable
145 printf("\t%s", time_buf); in main()
232 fprintf(stream, "\t%s", time_buf); in fixup()
282 time_buf); in loop()
357 cftime(time_buf, DATE_FMT, &told); in update()
359 cftime(time_buf, DATE_FMT, &tnew); in update()
362 cftime(time_buf, DATE_FMT, &told); in update()
364 cftime(time_buf, DATE_FMT, &tnew); in update()
422 printf("from %s", time_buf); in printrep()
424 printf("to %s", time_buf); in printrep()
[all …]
H A Dacctcon.c82 static char time_buf[50]; variable
208 cftime(time_buf, DATE_FMT, &wb.ut_xtime); in fixup()
209 fprintf(stream, "\t%s", time_buf); in fixup()
258 time_buf); in loop()
334 cftime(time_buf, DATE_FMT, &told); in update()
336 cftime(time_buf, DATE_FMT, &tnew); in update()
337 fprintf(stderr, "new: %s", time_buf); in update()
393 cftime(time_buf, DATE_FMT, &firstime); in printrep()
394 printf("from %s", time_buf); in printrep()
395 cftime(time_buf, DATE_FMT, &lastime); in printrep()
[all …]
H A Dacctcom.c47 static char time_buf[50]; variable
334 cftime(time_buf, DATE_FMT, &t); in dofile()
347 cftime(time_buf, DATE_FMT, &ts_a); in dofile()
348 fprintf(stdout, "START AFT: %s", time_buf); in dofile()
352 cftime(time_buf, DATE_FMT, &ts_b); in dofile()
353 fprintf(stdout, "START BEF: %s", time_buf); in dofile()
357 cftime(time_buf, DATE_FMT, &te_a); in dofile()
362 cftime(time_buf, DATE_FMT, &te_b); in dofile()
562 cftime(time_buf, DATE_FMT1, &t); in println()
563 fprintf(stdout, "%.9s", time_buf); in println()
[all …]
H A Dfwtmp.c38 static char time_buf[50]; variable
76 cftime(time_buf, DATE_FMT, &Ut.ut_xtime); in main()
96 time_buf); in main()
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_util.c212 static char time_buf[24]; in time_to_string() local
218 if (strftime(time_buf, sizeof (time_buf), "%m/%d/%Y %R", in time_to_string()
222 return (time_buf); in time_to_string()
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_send.c79 char time_buf[40]; in warn_send() local
131 cftime(time_buf, "%c", &tod); in warn_send()
134 progname, myhostname, time_buf); in warn_send()
/illumos-gate/usr/src/cmd/wall/
H A Dwall.c80 static char time_buf[50]; variable
231 (void) strftime(time_buf, sizeof (time_buf), in main()
421 who, line, systm, time_buf); in sendmes()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfiles.c34 static char time_buf[50]; variable
152 (void) strftime(time_buf, sizeof (time_buf), in rmfiles()
156 rp->secure->size, time_buf); in rmfiles()
H A Dexec.c157 static char time_buf[50]; variable
241 (void) strftime(time_buf, sizeof (time_buf), in exec()
275 (void) strftime(time_buf, sizeof (time_buf), in exec()
978 av[ac++] = arg_string(TRUSTED, "%s", time_buf); in exec()
990 av[ac++] = arg_string(TRUSTED, "%s", time_buf); in exec()
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c101 char time_buf[40]; in main() local
359 (void) strftime(time_buf, sizeof (time_buf), in main()
364 &ownname[0], thissys, oterminal, time_buf); in main()
/illumos-gate/usr/src/cmd/bart/
H A Dcreate.c317 char time_buf[1024]; in output_manifest() local
322 (void) strftime(time_buf, sizeof (time_buf), "%A, %B %d, %Y (%T)", tm); in output_manifest()
323 (void) printf("! %s\n", time_buf); in output_manifest()
/illumos-gate/usr/src/cmd/news/
H A Dnews.c86 char time_buf[50]; /* holds date and time string */ variable
292 cftime(time_buf, DATE_FMT, &sbuf.st_mtime); in print_item()
293 printf (" %s\n", time_buf); in print_item()
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dlogging.c281 char time_buf[256]; in log_vwrite() local
306 time_buf[0]='\0'; in log_vwrite()
317 sprintf(time_buf, "%02d-%s-%4d %02d:%02d:%02d.%03ld ", in log_vwrite()
373 (chan->flags & LOG_TIMESTAMP) ? time_buf : "", in log_vwrite()
408 (chan->flags & LOG_TIMESTAMP) ? time_buf : "", in log_vwrite()
/illumos-gate/usr/src/cmd/who/
H A Dwho.c147 static char time_buf[128]; /* holds date and time string */ variable
533 (void) strftime(time_buf, sizeof (time_buf), in dump()
570 w, device, time_buf); in dump()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dfksmbcl_main.c498 char time_buf[40]; in show_dents() local
540 (void) strftime(time_buf, sizeof (time_buf), in show_dents()
546 time_buf, in show_dents()
/illumos-gate/usr/src/cmd/ls/
H A Dls.c338 static char time_buf[FMTSIZE]; /* array to hold day and time */ variable
1344 curcol += printf("%s", time_buf); in pentry()
2652 (void) strftime(time_buf, sizeof (time_buf), fmt_buf, in format_time()
2661 (void) strftime(time_buf, sizeof (time_buf), in format_time()
2713 (void) printf(" timestamp: atime %s\n", time_buf); in print_time()
2715 (void) printf(" timestamp: ctime %s\n", time_buf); in print_time()
2717 (void) printf(" timestamp: mtime %s\n", time_buf); in print_time()
2724 p->extm[i].name, time_buf); in print_time()
/illumos-gate/usr/src/cmd/pr/
H A Dpr.c121 static char time_buf[50]; /* array to hold the time and date */ variable
1436 (void) cftime(time_buf,
1439 now = time_buf;
1444 (void) cftime(time_buf, dcgettext(NULL, FORMAT, LC_TIME),
1446 return (time_buf);
/illumos-gate/usr/src/cmd/cfgadm/
H A Dcfgadm.c1391 char time_buf[50]; /* array to hold day and time */ in print_time() local
1405 (void) strftime(time_buf, sizeof (time_buf), in print_time()
1408 (void) strftime(time_buf, sizeof (time_buf), in print_time()
1411 (void) sprintf(lp, "%-*s", width, time_buf); in print_time()
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c812 char time_buf[BUFSIZ]; in change() local
832 (void) cftime(time_buf, dcmsg, &stb1.st_mtime); in change()
835 time_buf); in change()
838 time_buf); in change()
839 (void) cftime(time_buf, dcmsg, &stb2.st_mtime); in change()
842 time_buf); in change()
845 time_buf); in change()
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c600 char time_buf[TIME_MAX]; /* array to hold date and time */ in print_mnttab() local
616 cftime(time_buf, FORMAT, &ltime); in print_mnttab()
632 time_buf); in print_mnttab()
639 time_buf); in print_mnttab()
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c188 char time_buf[_SZ_TIME_BUF]; variable
1755 (void) strftime(time_buf, _SZ_TIME_BUF, fmt, &tm); in gettime()
1757 return (time_buf); in gettime()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dgraph.c3558 char down_buf[256], time_buf[256]; in do_uadmin() local
3674 (void) snprintf(time_buf, sizeof (time_buf), in do_uadmin()
3677 time_buf[0] = '\0'; in do_uadmin()
3679 (void) printf("%s%s\n", down_buf, time_buf); in do_uadmin()