V7/usr/include/utmp.h

Find at most related files.
including files from this version of Unix.

struct utmp {
	char	ut_line[8];		/* tty name */
	char	ut_name[8];		/* user id */
	long	ut_time;		/* time on */
};