BSD 4_3_Reno release
[unix-history] / usr / src / share / man / man5 / utmp.5
index 39be2f0..6a0b625 100644 (file)
@@ -2,9 +2,9 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)utmp.5      6.4 (Berkeley) %G%
+.\"    @(#)utmp.5      6.6 (Berkeley) 6/23/90
 .\"
 .\"
-.TH UTMP 5  ""
+.TH UTMP 5  "June 23, 1990"
 .UC 4
 .SH NAME
 utmp, wtmp \- login records
 .UC 4
 .SH NAME
 utmp, wtmp \- login records
@@ -19,10 +19,13 @@ defined in the include file.
 .RS
 .PP
 .nf
 .RS
 .PP
 .nf
+#define UT_NAMESIZE    8
+#define UT_LINESIZE    8
+#define UT_HOSTSIZE    16
 struct utmp {
 struct utmp {
-       char    ut_line[8];
-       char    ut_name[8];
-       char    ut_host[16];
+       char    ut_line[UT_NAMESIZE];
+       char    ut_name[UT_LINESIZE];
+       char    ut_host[UT_HOSTSIZE];
        time_t  ut_time;
 };
 .ft R
        time_t  ut_time;
 };
 .ft R
@@ -59,8 +62,8 @@ record-keeping is turned off.  It is summarized by
 and
 .IR ac (8).
 .SH FILES
 and
 .IR ac (8).
 .SH FILES
-/etc/utmp
+/var/run/utmp
 .br
 .br
-/usr/adm/wtmp
+/var/log/wtmp
 .SH "SEE ALSO"
 last(1), login(1), who(1), ac(8), init(8)
 .SH "SEE ALSO"
 last(1), login(1), who(1), ac(8), init(8)