mirror of https://github.com/mkerrisk/man-pages
Typo and whitespace fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
178d104e83
commit
9d16961a57
28
man5/utmp.5
28
man5/utmp.5
|
@ -59,8 +59,8 @@ around; details depend on the version of libc):
|
||||||
#define EMPTY 0 /* Record does not contain valid info
|
#define EMPTY 0 /* Record does not contain valid info
|
||||||
(formerly known as UT_UNKNOWN on Linux) */
|
(formerly known as UT_UNKNOWN on Linux) */
|
||||||
#define RUN_LVL 1 /* Change in system run-level (see
|
#define RUN_LVL 1 /* Change in system run-level (see
|
||||||
\fBinit\fP(8) */
|
\fBinit\fP(8)) */
|
||||||
#define BOOT_TIME 2 /* Time of system booy (in \fIut_tv\fP) */
|
#define BOOT_TIME 2 /* Time of system boot (in \fIut_tv\fP) */
|
||||||
#define NEW_TIME 3 /* Time after system clock change
|
#define NEW_TIME 3 /* Time after system clock change
|
||||||
(in \fIut_tv\fP) */
|
(in \fIut_tv\fP) */
|
||||||
#define OLD_TIME 4 /* Time before system clock change
|
#define OLD_TIME 4 /* Time before system clock change
|
||||||
|
@ -97,24 +97,24 @@ struct utmp {
|
||||||
compiled 32- and 64-bit. This allows data files and shared
|
compiled 32- and 64-bit. This allows data files and shared
|
||||||
memory to be shared between 32- and 64-bit applications. */
|
memory to be shared between 32- and 64-bit applications. */
|
||||||
#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32
|
#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32
|
||||||
int32_t ut_session; /* Session ID (\fBgetsid\fP(2)),
|
int32_t ut_session; /* Session ID (\fBgetsid\fP(2)),
|
||||||
used for windowing */
|
used for windowing */
|
||||||
struct {
|
struct {
|
||||||
int32_t tv_sec; /* Seconds */
|
int32_t tv_sec; /* Seconds */
|
||||||
int32_t tv_usec; /* Microseconds */
|
int32_t tv_usec; /* Microseconds */
|
||||||
} ut_tv; /* Time entry was made */
|
} ut_tv; /* Time entry was made */
|
||||||
#else
|
#else
|
||||||
long ut_session; /* Session ID */
|
long ut_session; /* Session ID */
|
||||||
struct timeval ut_tv; /* Time entry was made */
|
struct timeval ut_tv; /* Time entry was made */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int32_t ut_addr_v6[4]; /* Internet address of remote
|
int32_t ut_addr_v6[4]; /* Internet address of remote
|
||||||
host; IPv4 address uses
|
host; IPv4 address uses
|
||||||
just ut_addr_v6[0] */
|
just ut_addr_v6[0] */
|
||||||
char __unused[20]; /* Reserved for future use */
|
char __unused[20]; /* Reserved for future use */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Backwards compatibility hacks. */
|
/* Backwards compatibility hacks */
|
||||||
#define ut_name ut_user
|
#define ut_name ut_user
|
||||||
#ifndef _NO_UT_TIME
|
#ifndef _NO_UT_TIME
|
||||||
#define ut_time ut_tv.tv_sec
|
#define ut_time ut_tv.tv_sec
|
||||||
|
|
Loading…
Reference in New Issue