/titanic_41/usr/src/lib/libldap5/sources/ldap/util/ |
H A D | log.c | 96 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 D | nfslog_elf.c | 492 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 D | tmplout.c | 912 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 D | psrinfo.c | 217 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 D | w.c | 684 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 D | whodo.c | 775 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 D | syslog.c | 182 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 D | finger.c | 1300 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 D | history.c | 1318 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 D | libzfs_pool.c | 1382 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()
|