Home
last modified time | relevance | path

Searched refs:time_string (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/lib/libnisdb/yptol/
H A Dyptol_utils.c169 char time_string[MAX_ASCII_ORDER_NUMBER_LENGTH]; in update_timestamp() local
176 sprintf(time_string, "%010ld", (long)now.tv_sec); in update_timestamp()
177 if (SUCCESS != addpair(db, yp_last_modified, time_string)) in update_timestamp()
/titanic_44/usr/src/lib/krb5/kadm5/
H A Dchpass_util.c284 char *time_string, *ptr; in _kadm5_chpass_principal_util() local
288 time_string = ctime(&until); in _kadm5_chpass_principal_util()
289 if (*(ptr = &time_string[strlen(time_string)-1]) == '\n') in _kadm5_chpass_principal_util()
293 time_string); in _kadm5_chpass_principal_util()
/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dutil.c123 char *time_string = ctime(&time); in monosec_to_string() local
126 time_string[strlen(time_string) - 1] = '\0'; in monosec_to_string()
127 return (time_string); in monosec_to_string()
/titanic_44/usr/src/cmd/ssh/sshd/
H A Dsession.c720 char *time_string; in do_login() local
745 time_string = ctime(&s->last_login_time); in do_login()
746 if (strchr(time_string, '\n')) in do_login()
747 *strchr(time_string, '\n') = 0; in do_login()
749 printf("Last login: %s\r\n", time_string); in do_login()
751 printf("Last login: %s from %s\r\n", time_string, in do_login()
/titanic_44/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c2233 char *time_string, *ptr, *errstr; in kadm5_check_min_life() local
2237 time_string = ctime(&until); in kadm5_check_min_life()
2240 if (strlen(errstr) + strlen(time_string) >= msg_len) { in kadm5_check_min_life()
2243 if (*(ptr = &time_string[strlen(time_string)-1]) == '\n') in kadm5_check_min_life()
2245 sprintf(msg_ret, errstr, time_string); in kadm5_check_min_life()