/titanic_50/usr/src/cmd/sgs/libconv/common/ |
H A D | time.c | 39 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()
|
/titanic_50/usr/src/cmd/acct/ |
H A D | acctcon1.c | 86 static char time_buf[50]; variable 144 cftime(time_buf, DATE_FMT, &wb.ut_xtime); in main() 145 printf("\t%s", time_buf); in main() 231 cftime(time_buf, DATE_FMT, &wb.ut_xtime); in fixup() 232 fprintf(stream, "\t%s", time_buf); in fixup() 276 cftime(time_buf, DATE_FMT, &wb.ut_xtime); in loop() 281 time_buf); in loop() 356 cftime(time_buf, DATE_FMT, &told); in update() 357 fprintf(stderr, "The old time is: %s", time_buf); in update() 358 cftime(time_buf, DATE_FMT, &tnew); in update() [all …]
|
H A D | acctcon.c | 84 static char time_buf[50]; variable 210 cftime(time_buf, DATE_FMT, &wb.ut_xtime); in fixup() 211 fprintf(stream, "\t%s", time_buf); in fixup() 254 cftime(time_buf, DATE_FMT, &wb.ut_xtime); in loop() 259 time_buf); in loop() 335 cftime(time_buf, DATE_FMT, &told); in update() 336 fprintf(stderr, "acctcon: bad times: old: %s", time_buf); in update() 337 cftime(time_buf, DATE_FMT, &tnew); in update() 338 fprintf(stderr, "new: %s", time_buf); in update() 394 cftime(time_buf, DATE_FMT, &firstime); in printrep() [all …]
|
H A D | acctcom.c | 50 static char time_buf[50]; variable 337 cftime(time_buf, DATE_FMT, &t); in dofile() 338 fprintf(stdout, "\nACCOUNTING RECORDS FROM: %s", time_buf); in dofile() 350 cftime(time_buf, DATE_FMT, &ts_a); in dofile() 351 fprintf(stdout, "START AFT: %s", time_buf); in dofile() 355 cftime(time_buf, DATE_FMT, &ts_b); in dofile() 356 fprintf(stdout, "START BEF: %s", time_buf); in dofile() 360 cftime(time_buf, DATE_FMT, &te_a); in dofile() 361 fprintf(stdout, "END AFTER: %s", time_buf); in dofile() 365 cftime(time_buf, DATE_FMT, &te_b); in dofile() [all …]
|
H A D | fwtmp.c | 40 static char time_buf[50]; variable 78 cftime(time_buf, DATE_FMT, &Ut.ut_xtime); in main() 98 time_buf); in main()
|
/titanic_50/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_util.c | 212 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()
|
/titanic_50/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_send.c | 81 char time_buf[40]; in warn_send() local 133 cftime(time_buf, "%c", &tod); in warn_send() 136 progname, myhostname, time_buf); in warn_send()
|
/titanic_50/usr/src/cmd/lp/cmd/lpsched/ |
H A D | files.c | 36 static char time_buf[50]; variable 154 (void) strftime(time_buf, sizeof (time_buf), in rmfiles() 158 rp->secure->size, time_buf); in rmfiles()
|
H A D | exec.c | 263 static char time_buf[50]; variable 347 (void) strftime(time_buf, sizeof (time_buf), in exec() 381 (void) strftime(time_buf, sizeof (time_buf), in exec() 1084 av[ac++] = arg_string(TRUSTED, "%s", time_buf); in exec() 1096 av[ac++] = arg_string(TRUSTED, "%s", time_buf); in exec()
|
/titanic_50/usr/src/cmd/wall/ |
H A D | wall.c | 80 static char time_buf[50]; variable 231 (void) strftime(time_buf, sizeof (time_buf), in main() 421 who, line, systm, time_buf); in sendmes()
|
/titanic_50/usr/src/cmd/write/ |
H A D | write.c | 101 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()
|
/titanic_50/usr/src/cmd/news/ |
H A D | news.c | 88 char time_buf[50]; /* holds date and time string */ variable 294 cftime(time_buf, DATE_FMT, &sbuf.st_mtime); in print_item() 295 printf (" %s\n", time_buf); in print_item()
|
/titanic_50/usr/src/cmd/bart/ |
H A D | create.c | 317 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()
|
/titanic_50/usr/src/cmd/who/ |
H A D | who.c | 143 static char time_buf[128]; /* holds date and time string */ variable 529 (void) strftime(time_buf, sizeof (time_buf), in dump() 566 w, device, time_buf); in dump()
|
/titanic_50/usr/src/lib/libresolv2/common/isc/ |
H A D | logging.c | 285 char time_buf[256]; in log_vwrite() local 310 time_buf[0]='\0'; in log_vwrite() 321 sprintf(time_buf, "%02d-%s-%4d %02d:%02d:%02d.%03ld ", in log_vwrite() 377 (chan->flags & LOG_TIMESTAMP) ? time_buf : "", in log_vwrite() 412 (chan->flags & LOG_TIMESTAMP) ? time_buf : "", in log_vwrite()
|
/titanic_50/usr/src/cmd/ls/ |
H A D | ls.c | 334 static char time_buf[FMTSIZE]; /* array to hold day and time */ variable 1324 curcol += printf("%s", time_buf); in pentry() 2561 (void) strftime(time_buf, sizeof (time_buf), fmt_buf, in format_time() 2570 (void) strftime(time_buf, sizeof (time_buf), in format_time() 2622 (void) printf(" timestamp: atime %s\n", time_buf); in print_time() 2624 (void) printf(" timestamp: ctime %s\n", time_buf); in print_time() 2626 (void) printf(" timestamp: mtime %s\n", time_buf); in print_time() 2633 p->extm[i].name, time_buf); in print_time()
|
/titanic_50/usr/src/cmd/pr/ |
H A D | pr.c | 123 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);
|
/titanic_50/usr/src/cmd/diff/ |
H A D | diff.c | 800 char time_buf[BUFSIZ]; in change() local 820 (void) cftime(time_buf, dcmsg, &stb1.st_mtime); in change() 823 time_buf); in change() 826 time_buf); in change() 827 (void) cftime(time_buf, dcmsg, &stb2.st_mtime); in change() 830 time_buf); in change() 833 time_buf); in change()
|
/titanic_50/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 1391 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()
|
/titanic_50/usr/src/cmd/fs.d/ |
H A D | mount.c | 602 char time_buf[TIME_MAX]; /* array to hold date and time */ in print_mnttab() local 618 cftime(time_buf, FORMAT, <ime); in print_mnttab() 634 time_buf); in print_mnttab() 641 time_buf); in print_mnttab()
|
/titanic_50/usr/src/cmd/tsol/tnd/ |
H A D | tnd.c | 190 char time_buf[_SZ_TIME_BUF]; variable 1757 (void) strftime(time_buf, _SZ_TIME_BUF, fmt, &tm); in gettime() 1759 return (time_buf); in gettime()
|
/titanic_50/usr/src/cmd/svc/startd/ |
H A D | graph.c | 3586 char down_buf[256], time_buf[256]; in do_uadmin() local 3707 (void) snprintf(time_buf, sizeof (time_buf), in do_uadmin() 3710 time_buf[0] = '\0'; in do_uadmin() 3712 (void) printf("%s%s\n", down_buf, time_buf); in do_uadmin()
|