add macros get get/put short/long.
[unix-history] / usr / src / include / utmp.h
index cce73a6..d17e193 100644 (file)
@@ -1,4 +1,10 @@
-/*     utmp.h  4.1     83/05/03        */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ *     @(#)utmp.h      5.1 (Berkeley) %G%
+ */
 
 /*
  * Structure of utmp and wtmp files.
 
 /*
  * Structure of utmp and wtmp files.
@@ -8,5 +14,6 @@
 struct utmp {
        char    ut_line[8];             /* tty name */
        char    ut_name[8];             /* user id */
 struct utmp {
        char    ut_line[8];             /* tty name */
        char    ut_name[8];             /* user id */
+       char    ut_host[16];            /* host name, if remote */
        long    ut_time;                /* time on */
 };
        long    ut_time;                /* time on */
 };