Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libldap5/sources/ldap/util/
H A Dlog.c96 static char timestr[128]; variable
158 ctime_r(&now, timestr, 128); in ldaplog()
161 fprintf(logfd, "%.16s : ", timestr); in ldaplog()
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_elf.c492 static char timestr[20]; in nfsl_get_time() local
497 return (timestr); in nfsl_get_time()
501 (void) sprintf(timestr, "%02d:%02d:%02d", in nfsl_get_time()
504 return (timestr); in nfsl_get_time()
511 static char timestr[30]; in nfsl_get_date() local
516 return (timestr); in nfsl_get_date()
520 (void) sprintf(timestr, "\"%04d-%02d-%02d %02d:%02d:%02d\"", in nfsl_get_date()
524 return (timestr); in nfsl_get_date()
534 static char timestr[30]; in nfsl_get_date_nq() local
539 return (timestr); in nfsl_get_date_nq()
[all …]
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c912 char *p, *timestr, zone, *fmterr = in time2text() local
961 timestr = NSLDAPI_CTIME( &gmttime, buf, sizeof(buf) ); in time2text()
963 timestr[ strlen( timestr ) - 1 ] = zone; /* replace trailing newline */ in time2text()
965 strcpy( timestr + 11, timestr + 20 ); in time2text()
968 return( timestr ); in time2text()
/titanic_41/usr/src/cmd/psrinfo/
H A Dpsrinfo.c217 timestr(long t) in timestr() function
384 (void) printf("%s\n", timestr(time(NULL))); in print_v()
386 _(v->v_state), timestr(v->v_state_begin)); in print_v()
430 l->l_id, _(v->v_state), timestr(v->v_state_begin)); in print_normal()
/titanic_41/usr/src/cmd/w/
H A Dw.c684 char timestr[50]; in prtat() local
686 (void) strftime(timestr, sizeof (timestr), in prtat()
688 PRINTF(("%-11s ", timestr)); in prtat()
/titanic_41/usr/src/cmd/whodo/
H A Dwhodo.c775 char timestr[50]; in prtat() local
777 (void) strftime(timestr, sizeof (timestr), in prtat()
779 PRINTF(("%-11s ", timestr)); in prtat()
/titanic_41/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()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c1300 char *timestr; in AnyMail() local
1328 timestr = ctime(&buf.st_mtime); /* time last modified */ in AnyMail()
1329 timestr[24] = '\0'; /* suppress newline (ugh) */ in AnyMail()
1330 (void) printf("%s", timestr); in AnyMail()
/titanic_41/usr/src/lib/libtecla/common/
H A Dhistory.c1318 char timestr[TSLEN+1]; /* The timestamp part of the string */ in _glh_decode_timestamp() local
1339 strncpy(timestr, string, TSLEN); in _glh_decode_timestamp()
1340 timestr[TSLEN] = '\0'; in _glh_decode_timestamp()
1344 if(sscanf(timestr, "%4u%2u%2u%2u%2u%2u", &year, &month, &day, &hour, &min, in _glh_decode_timestamp()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1382 char timestr[128]; in zpool_rewind_exclaim() local
1397 strftime(timestr, 128, 0, &t) != 0) { in zpool_rewind_exclaim()
1402 name, timestr); in zpool_rewind_exclaim()
1406 name, timestr); in zpool_rewind_exclaim()
1434 char timestr[128]; in zpool_explain_recover() local
1458 strftime(timestr, 128, 0, &t) != 0) { in zpool_explain_recover()
1462 timestr); in zpool_explain_recover()