Searched refs:timestr (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/
H A Dlog.c96 static char timestr[128]; variable
158 ctime_r(&now, timestr, 128);
161 fprintf(logfd, "%.16s : ", timestr);
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_elf.c492 static char timestr[20]; local
497 return (timestr);
501 (void) sprintf(timestr, "%02d:%02d:%02d",
504 return (timestr);
511 static char timestr[30]; local
516 return (timestr);
520 (void) sprintf(timestr, "\"%04d-%02d-%02d %02d:%02d:%02d\"",
524 return (timestr);
534 static char timestr[30]; local
539 return (timestr);
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c912 char *p, *timestr, zone, *fmterr = local
961 timestr = NSLDAPI_CTIME( &gmttime, buf, sizeof(buf) );
963 timestr[ strlen( timestr ) - 1 ] = zone; /* replace trailing newline */
965 strcpy( timestr + 11, timestr + 20 );
968 return( timestr );
/illumos-gate/usr/src/cmd/w/
H A Dw.c684 char timestr[50]; local
686 (void) strftime(timestr, sizeof (timestr),
688 PRINTF(("%-11s ", timestr));
/illumos-gate/usr/src/cmd/whodo/
H A Dwhodo.c775 char timestr[50]; local
777 (void) strftime(timestr, sizeof (timestr),
779 PRINTF(("%-11s ", timestr));
/illumos-gate/usr/src/cmd/psrinfo/
H A Dpsrinfo.c217 timestr(long t) function
384 (void) printf("%s\n", timestr(time(NULL)));
386 _(v->v_state), timestr(v->v_state_begin));
430 l->l_id, _(v->v_state), timestr(v->v_state_begin));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsyslog.c182 char timestr[26]; /* hardwired value 26 due to Posix */ local
258 (void) sprintf(o, "%.15s ", ctime_r(&now, timestr, 26) + 4);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c1300 char *timestr; local
1328 timestr = ctime(&buf.st_mtime); /* time last modified */
1329 timestr[24] = '\0'; /* suppress newline (ugh) */
1330 (void) printf("%s", timestr);
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.c1318 char timestr[TSLEN+1]; /* The timestamp part of the string */ local
1339 strncpy(timestr, string, TSLEN);
1340 timestr[TSLEN] = '\0';
1344 if(sscanf(timestr, "%4u%2u%2u%2u%2u%2u", &year, &month, &day, &hour, &min,
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1433 char timestr[128]; local
1448 strftime(timestr, 128, 0, &t) != 0) {
1453 name, timestr);
1457 name, timestr);
1485 char timestr[128]; local
1509 strftime(timestr, 128, 0, &t) != 0) {
1513 timestr);

Completed in 101 milliseconds