time(&utmp_entry.ut_time);
time(&uttime); utmp_entry.ut_time = uttime;
static void cleanup_utmp(void){#ifndef OMIT_UTMP    FILE *wtmp;    if (!pty_stamped_utmp)	return;    utmp_entry.ut_type = DEAD_PROCESS;    memset(utmp_entry.ut_user, 0, lenof(utmp_entry.ut_user));    time(&utmp_entry.ut_time);    if ((wtmp = fopen(WTMP_FILE, "a")) != NULL) {	fwrite(&utmp_entry, 1, sizeof(utmp_entry), wtmp);	fclose(wtmp);    }    memset(utmp_entry.ut_line, 0, lenof(utmp_entry.ut_line));    utmp_entry.ut_time = 0;#if defined HAVE_PUTUTLINE    utmpname(UTMP_FILE);    setutent();    pututline(&utmp_entry);    endutent();#endif    pty_stamped_utmp = 0;	       /* ensure we never double-cleanup */#endif}