Searched refs:timebuf (Results 1 - 25 of 30) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/cmd/drd/
H A Ddrd_log.c99 char timebuf[DRD_MAX_TIME_LEN] = ""; local
102 drd_timestamp(timebuf, sizeof (timebuf));
111 (void) fprintf(stderr, "%s%s%s\n", timebuf, log_prio_str[prio], msgbuf);
/opensolaris-onvv-gate/usr/src/cmd/fps/fpsd/
H A Dfpsd_log.c101 char timebuf[FPSD_MAX_TIME_LEN] = ""; local
107 fpsd_timestamp(timebuf, sizeof (timebuf));
109 timebuf, FPS_DAEMON_NAME, log_prio_str[prio]);
/opensolaris-onvv-gate/usr/src/cmd/ldmad/
H A Dldma_log.c99 char timebuf[LDMA_MAX_TIME_LEN] = ""; local
102 ldma_timestamp(timebuf, sizeof (timebuf));
112 (void) fprintf(stderr, "%s%s.%s: %s\n", timebuf, module,
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/
H A Dpoll.c50 struct timeval timebuf; local
86 timebuf.tv_sec = timeout / 1000;
87 timebuf.tv_usec = (timeout % 1000) * 1000;
88 tbuf = &timebuf;
/opensolaris-onvv-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Deventlog.c170 char timebuf[32]; local
200 (void) strftime(timebuf, sizeof (timebuf), "%b %d %H:%M:%S",
202 (void) sprintf(messBuff, "%s : %08lx: \"", timebuf,
218 char timebuf[32]; local
328 (void) strftime(timebuf, sizeof (timebuf),
331 (void) sprintf(messBuff, "%s : %08lx: \"", timebuf,
/opensolaris-onvv-gate/usr/src/cmd/zlook/
H A Dzlook.c143 char timebuf[512]; local
154 timebuf[0] = 0;
155 if (ctime_r(&sb->st_atime, timebuf, 512)) {
157 (void) printf("%s", timebuf);
159 timebuf[0] = 0;
160 if (ctime_r(&sb->st_mtime, timebuf, 512)) {
162 (void) printf("%s", timebuf);
164 timebuf[0] = 0;
165 if (ctime_r(&sb->st_ctime, timebuf, 512)) {
167 (void) printf("%s", timebuf);
[all...]
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c162 struct tm timebuf;
187 * indicated that no guarantees are made as to preserving timebuf
191 (void) localtime_r(&now, &timebuf);
193 memcpy(&timebuf, localtime(&now), sizeof(timebuf));
196 if ((s = strptime(string, atime_format_table[i], &timebuf))
202 if (timebuf.tm_year <= 0)
204 ret_time = mktime(&timebuf);
161 struct tm timebuf; local
/opensolaris-onvv-gate/usr/src/cmd/svc/startd/
H A Dlog.c164 char timebuf[LOG_DATE_SIZE]; local
178 (void) strftime(timebuf, sizeof (timebuf), "%b %e %T",
181 xstrftime_poststart(timebuf, sizeof (timebuf), &now);
183 (void) snprintf(buf, sizeof (buf), "%s/%d%s: ", timebuf, pthread_self(),
329 char timebuf[LOG_DATE_SIZE]; local
357 (void) strftime(timebuf, sizeof (timebuf), "%b %e %T",
360 xstrftime_poststart(timebuf, sizeo
[all...]
H A Dfork.c606 char path[20] = "/sbin/rc.", log[20] = "rc..log", timebuf[20]; local
667 sz = strftime(timebuf, sizeof (timebuf), "%b %e %T",
671 (void) fprintf(stderr, "%s Executing %s %s\n", timebuf, path, arg);
/opensolaris-onvv-gate/usr/src/lib/libwrap/
H A Drfc931.c45 static jmp_buf timebuf; variable
74 longjmp(timebuf, sig);
113 if (setjmp(timebuf) == 0) {
/opensolaris-onvv-gate/usr/src/cmd/calendar/
H A Dcalprog.c221 char timebuf[1024]; local
226 strftime(timebuf, sizeof (timebuf), fmt, localtime(&t));
227 tb = timebuf;
/opensolaris-onvv-gate/usr/src/cmd/vscan/vscand/
H A Dvs_svc.c333 char timebuf[18]; /* MM/DD/YY hh:mm:ss */ local
357 (void) strftime(timebuf, sizeof (timebuf), "%D %T", timestamp);
361 timebuf, strlen(filepath), filepath);
365 timebuf, strlen(filepath), filepath,
/opensolaris-onvv-gate/usr/src/lib/libsip/common/
H A Dsip_logging.c269 char timebuf[TIME_BUF_SIZE]; local
290 (void) strftime(timebuf, sizeof (timebuf), NULL,
293 " %d\n%s", timebuf, msg_chain->msg_seq, msg_chain->
321 char timebuf[TIME_BUF_SIZE]; local
341 (void) strftime(timebuf, sizeof (timebuf), NULL,
344 " %d\n%s", timebuf, msg_chain->msg_seq, msg_chain->
/opensolaris-onvv-gate/usr/src/cmd/lp/model/
H A Dlp.tsol_separator.c226 char timebuf[80]; local
230 (void) strftime(timebuf, sizeof (timebuf), NULL,
232 (void) printf("\t/Job_Date (%s) def\n", timebuf);
/opensolaris-onvv-gate/usr/src/lib/libexacct/demo/
H A Dexdump.c376 char timebuf[20]; local
388 (void) strftime(timebuf, sizeof (timebuf),
390 (void) fputs(timebuf, stdout);
/opensolaris-onvv-gate/usr/src/common/net/wanboot/
H A Dbootlog.c112 static char timebuf[sizeof ("Tue Jan 19 03:14:07 2038\n")]; local
118 (void) strlcpy(timebuf, ctime(&curtime), sizeof (timebuf));
119 timebuf[19] = '\0'; /* truncate before "2038" above */
120 return (timebuf);
/opensolaris-onvv-gate/usr/src/cmd/cron/
H A Dat.c163 char argpbuf[LINE_MAX], timebuf[80]; local
410 cftime(timebuf, FORMAT, &when);
412 strrchr(job, '/')+1, timebuf);
799 char timebuf[80]; local
855 ascftime(timebuf, FORMAT, localtime(&t));
862 timebuf);
867 dentry->d_name, timebuf);
893 ascftime(timebuf, FORMAT,
895 printf("%s\t%s\n", argv[i], timebuf);
H A Dcron.c170 static char timebuf[80]; variable
551 cftime(timebuf, "%C", &next_event->time);
553 next_event->time, timebuf);
625 cftime(timebuf, "%C", &next_event->time);
628 next_event->cmd, next_event->time, timebuf);
1273 cftime(timebuf, "%C", &e->time);
1275 e->cmd, e->time, timebuf);
2999 (void) strftime(timebuf, sizeof (timebuf), FORMAT, localtime(&t));
3000 (void) fprintf(stderr, " %s\n", timebuf);
[all...]
/opensolaris-onvv-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c421 static char timebuf[sizeof (PKGSERV_MODE) + sizeof (MODE_TIMEOUT) + 10]; local
427 (void) snprintf(timebuf, sizeof (timebuf),
431 return (timebuf);
/opensolaris-onvv-gate/usr/src/cmd/flowstat/
H A Dflowstat.c769 char timebuf[20]; local
783 (void) strftime(timebuf, sizeof (timebuf), "%m/%d/%Y",
785 (void) printf("%s\n", timebuf);
/opensolaris-onvv-gate/usr/src/cmd/avs/sdbc/
H A Dscmadm.c1691 char timebuf[80]; local
1729 (void) strftime(timebuf, 80, "%x %X", tm_ptr);
1732 progname, timebuf);
1767 (void) strftime(timebuf, 80, "%x %X", tm_ptr);
1768 (void) printf("sd alert trace dump %s at %s\n", filename, timebuf);
/opensolaris-onvv-gate/usr/src/cmd/svc/svcs/
H A Dexplain.c1963 char *timebuf; local
2003 timebuf = safe_malloc(tbsz);
2004 if (strftime(timebuf, tbsz, NULL, tmp) != 0)
2006 free(timebuf);
2009 (void) printf(gettext(" State: %s since %s\n"), svcp->state, timebuf); local
2011 free(timebuf);
H A Dsvcs.c2332 char *timebuf; local
2426 timebuf = safe_malloc(tbsz);
2427 if (strftime(timebuf, tbsz, NULL, tmp) != 0)
2429 free(timebuf);
2433 timebuf);
2434 free(timebuf);
/opensolaris-onvv-gate/usr/src/lib/libdladm/common/
H A Dusage.c186 * Given a timebuf of the form M/D/Y,H:M:S break it into individual elements.
259 char timebuf[TIMEBUFLEN]; local
263 (void) strftime(timebuf, sizeof (timebuf),
265 dissect_time(timebuf, &ns->net_stat_time);
/opensolaris-onvv-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c1248 char timebuf[SMB_TIMEBUF_SZ]; local
1268 (void) strftime(timebuf, SMB_TIMEBUF_SZ, "%b %d %H:%M:%S", tm);
1294 timebuf, netbiosname, getpid(), pri_name, buf);

Completed in 326 milliseconds

12