Searched refs:p_tm (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 482 gmtime_r(const time_t *timep, struct tm *p_tm) in gmtime_r() argument 484 return (offtime_u((time_t)*timep, 0L, p_tm)); in gmtime_r() 502 struct tm *p_tm = tsdalloc(_T_STRUCT_TM, sizeof (struct tm), NULL); in gmtime() local 504 if (p_tm == NULL) /* memory allocation failure */ in gmtime() 505 p_tm = &tm; /* use static buffer and hope for the best */ in gmtime() 506 return (gmtime_r(timep, p_tm)); in gmtime() 623 localtime_r(const time_t *timep, struct tm *p_tm) in localtime_r() argument 636 return (offtime_u(*timep, 0L, p_tm)); in localtime_r() 643 rt = offtime_u(*timep, offset, p_tm); in localtime_r() 644 p_tm->tm_isdst = my_is_in_dst; in localtime_r() [all …]
|
/titanic_50/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 48 struct tm *p_tm; in get_timestamp() local 51 p_tm = localtime(&utc_time); in get_timestamp() 53 (void) strftime(buf, bufsize, "%b %d %H:%M:%S", p_tm); in get_timestamp()
|