Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 00:07:46 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r201863 - user/ed/utmpx/lib/libc/gen
Message-ID:  <201001090007.o0907k8m033601@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sat Jan  9 00:07:46 2010
New Revision: 201863
URL: http://svn.freebsd.org/changeset/base/201863

Log:
  Make it a little easier to read the struct.

Modified:
  user/ed/utmpx/lib/libc/gen/getutxent.3

Modified: user/ed/utmpx/lib/libc/gen/getutxent.3
==============================================================================
--- user/ed/utmpx/lib/libc/gen/getutxent.3	Sat Jan  9 00:07:03 2010	(r201862)
+++ user/ed/utmpx/lib/libc/gen/getutxent.3	Sat Jan  9 00:07:46 2010	(r201863)
@@ -93,13 +93,13 @@ found in the include file
 .In utmpx.h :
 .Bd -literal -offset indent
 struct utmpx {
-	short	ut_type;	/* Type of entry. */
-	struct timeval ut_tv;	/* Time entry was made. */
-	char	ut_id[];	/* Record identifier. */
-	pid_t	ut_pid;		/* Process ID. */
-	char	ut_user[];	/* User login name. */
-	char	ut_line[];	/* Device name. */
-	char	ut_host[];	/* Remote hostname. */
+	short           ut_type;    /* Type of entry. */
+	struct timeval  ut_tv;      /* Time entry was made. */
+	char            ut_id[];    /* Record identifier. */
+	pid_t           ut_pid;     /* Process ID. */
+	char            ut_user[];  /* User login name. */
+	char            ut_line[];  /* Device name. */
+	char            ut_host[];  /* Remote hostname. */
 };
 .Ed
 .Pp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001090007.o0907k8m033601>