Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/
H A Dlog.c94 static char timestr[128]; variable
156 ctime_r(&now, timestr, 128); in ldaplog()
159 fprintf(logfd, "%.16s : ", timestr); in ldaplog()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_elf.c490 static char timestr[20]; in nfsl_get_time() local
495 return (timestr); in nfsl_get_time()
499 (void) sprintf(timestr, "%02d:%02d:%02d", in nfsl_get_time()
502 return (timestr); in nfsl_get_time()
509 static char timestr[30]; in nfsl_get_date() local
514 return (timestr); in nfsl_get_date()
522 return (timestr); in nfsl_get_date()
532 static char timestr[30]; in nfsl_get_date_nq() local
537 return (timestr); in nfsl_get_date_nq()
541 (void) sprintf(timestr, "%04d-%02d-%02d %02d:%02d:%02d", in nfsl_get_date_nq()
[all …]
/illumos-gate/usr/src/cmd/w/
H A Dw.c616 char timestr[50]; in prtat() local
618 (void) strftime(timestr, sizeof (timestr), in prtat()
620 PRINTF(("%-11s ", timestr)); in prtat()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c908 char *p, *timestr, zone, *fmterr = in time2text() local
957 timestr = NSLDAPI_CTIME( &gmttime, buf, sizeof(buf) ); in time2text()
959 timestr[ strlen( timestr ) - 1 ] = zone; /* replace trailing newline */ in time2text()
961 strcpy( timestr + 11, timestr + 20 ); in time2text()
964 return( timestr ); in time2text()
/illumos-gate/usr/src/cmd/psrinfo/
H A Dpsrinfo.c233 timestr(long t) in timestr() function
401 (void) printf("%s\n", timestr(time(NULL))); in print_v()
403 _(v->v_state), timestr(v->v_state_begin)); in print_v()
447 l->l_id, _(v->v_state), timestr(v->v_state_begin)); in print_normal()
/illumos-gate/usr/src/cmd/whodo/
H A Dwhodo.c841 char timestr[50]; in prtat() local
843 (void) strftime(timestr, sizeof (timestr), in prtat()
845 PRINTF(("%-11s ", timestr)); in prtat()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsyslog.c182 char timestr[26]; /* hardwired value 26 due to Posix */ in vsyslog() local
259 (void) sprintf(o, "%.15s ", ctime_r(&now, timestr, 26) + 4); in vsyslog()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c1304 char *timestr; in AnyMail() local
1332 timestr = ctime(&buf.st_mtime); /* time last modified */ in AnyMail()
1333 timestr[24] = '\0'; /* suppress newline (ugh) */ in AnyMail()
1334 (void) printf("%s", timestr); in AnyMail()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.c1316 char timestr[TSLEN+1]; /* The timestamp part of the string */ in _glh_decode_timestamp() local
1337 strncpy(timestr, string, TSLEN); in _glh_decode_timestamp()
1338 timestr[TSLEN] = '\0'; in _glh_decode_timestamp()
1342 if(sscanf(timestr, "%4u%2u%2u%2u%2u%2u", &year, &month, &day, &hour, &min, in _glh_decode_timestamp()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1593 char timestr[128]; in zpool_rewind_exclaim() local
1608 strftime(timestr, 128, 0, &t) != 0) { in zpool_rewind_exclaim()
1613 name, timestr); in zpool_rewind_exclaim()
1617 name, timestr); in zpool_rewind_exclaim()
1645 char timestr[128]; in zpool_explain_recover() local
1669 strftime(timestr, 128, 0, &t) != 0) { in zpool_explain_recover()
1673 timestr); in zpool_explain_recover()