rem: char *ptr = ctime (&tm) + 4; ptr[12] = '\0'; return ptr;
add: if (tmp) { strftime (buf, sizeof buf, time_format, tmp); return buf; } else return TYPE_SIGNED (time_t) ? imaxtostr (t, buf) : umaxtostr (t, buf);
context: time_string (const STRUCT_UTMP *utmp_ent){  /* Don't take the address of UT_TIME_MEMBER directly.     Ulrich Drepper wrote:     ``... GNU libc (and perhaps other libcs as well) have extended     utmp file formats which do not use a simple time_t ut_time field.     In glibc, ut_time is a macro which selects for backward compatibility     the tv_sec member of a struct timeval value.''  */  time_t tm = UT_TIME_MEMBER (utmp_ent);  char *ptr = ctime (&tm) + 4;  ptr[12] = '\0';  return ptr;}