endutxent.3.patch   [plain text]


--- endutxent.3.orig	2004-07-13 09:02:01.000000000 -0700
+++ endutxent.3	2004-08-05 15:41:50.000000000 -0700
@@ -34,7 +34,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 26, 2002
+.Dd July 13, 2004
 .Dt ENDUTXENT 3
 .Os
 .Sh NAME
@@ -105,20 +105,14 @@
 .Pp
 .Bd -literal
 struct utmpx {
-        char ut_name[_UTX_USERSIZE];    /* login name */
-        char ut_id[_UTX_IDSIZE];        /* inittab id */
-        char ut_line[_UTX_LINESIZE];    /* tty name */
-        char ut_host[_UTX_HOSTSIZE];    /* host name */
-        uint16_t ut_session;            /* session id used for windowing */
-        uint16_t ut_type;               /* type of this entry */
-        pid_t ut_pid;                   /* process id creating the entry */
-        struct {
-                uint16_t e_termination; /* process termination signal */
-                uint16_t e_exit;        /* process exit status */
-        } ut_exit;
-        struct sockaddr_storage ut_ss;  /* address where entry was made from */
-        struct timeval ut_tv;           /* time entry was created */
-        uint32_t ut_pad[10];            /* reserved for future use */
+	char ut_user[_UTX_USERSIZE];	/* login name */
+	char ut_id[_UTX_IDSIZE];	/* id */
+	char ut_line[_UTX_LINESIZE];	/* tty name */
+	pid_t ut_pid;			/* process id creating the entry */
+	short ut_type;			/* type of this entry */
+	struct timeval ut_tv;		/* time entry was created */
+	char ut_host[_UTX_HOSTSIZE];	/* host name */
+	__uint32_t ut_pad[16];		/* reserved for future use */
 };
 .Ed
 .Pp
@@ -143,8 +137,7 @@
 Time before system clock change.
 .It Dv RUN_LVL
 Run level.
-Provided for compatibility, not used on
-.Nx .
+Provided for compatibility, not used.
 .It Dv USER_PROCESS
 A user process.
 .El
@@ -163,7 +156,6 @@
 returns the structure that was successfully written, or
 .Dv NULL .
 .Sh SEE ALSO
-.Xr logwtmpx 3 ,
 .Xr utmpx 5
 .Sh STANDARDS
 The