FreeBSD/usr.sbin/lastlogin/lastlogin.c
/* Duplicate the output of last(1) */
Duplicate the output of last(1)
Duplicate the output of last ( 1 )
static void
output(struct utmpx *u)
{
	time_t t = u->ut_tv.tv_sec;
	printf("%-10s %-8s %-22.22s %s",
		u->ut_user, u->ut_line, u->ut_host, ctime(&t));
}
static void output ( struct utmpx * u ) { time_t t = u -> ut_tv . tv_sec ; printf ( " " , u -> ut_user , u -> ut_line , u -> ut_host , ctime ( & t ) ) ; }
Duplicate the output of last(1)
Duplicate the output of last ( 1 )