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
|
||||
(formerly known as UT_UNKNOWN on Linux) */
|
||||
#define RUN_LVL 1 /* Change in system run-level (see
|
||||
\fBinit\fP(8) */
|
||||
#define BOOT_TIME 2 /* Time of system booy (in \fIut_tv\fP) */
|
||||
\fBinit\fP(8)) */
|
||||
#define BOOT_TIME 2 /* Time of system boot (in \fIut_tv\fP) */
|
||||
#define NEW_TIME 3 /* Time after system clock change
|
||||
(in \fIut_tv\fP) */
|
||||
#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
|
||||
memory to be shared between 32- and 64-bit applications. */
|
||||
#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32
|
||||
int32_t ut_session; /* Session ID (\fBgetsid\fP(2)),
|
||||
used for windowing */
|
||||
int32_t ut_session; /* Session ID (\fBgetsid\fP(2)),
|
||||
used for windowing */
|
||||
struct {
|
||||
int32_t tv_sec; /* Seconds */
|
||||
int32_t tv_usec; /* Microseconds */
|
||||
} ut_tv; /* Time entry was made */
|
||||
int32_t tv_sec; /* Seconds */
|
||||
int32_t tv_usec; /* Microseconds */
|
||||
} ut_tv; /* Time entry was made */
|
||||
#else
|
||||
long ut_session; /* Session ID */
|
||||
struct timeval ut_tv; /* Time entry was made */
|
||||
long ut_session; /* Session ID */
|
||||
struct timeval ut_tv; /* Time entry was made */
|
||||
#endif
|
||||
|
||||
int32_t ut_addr_v6[4]; /* Internet address of remote
|
||||
host; IPv4 address uses
|
||||
just ut_addr_v6[0] */
|
||||
char __unused[20]; /* Reserved for future use */
|
||||
int32_t ut_addr_v6[4]; /* Internet address of remote
|
||||
host; IPv4 address uses
|
||||
just ut_addr_v6[0] */
|
||||
char __unused[20]; /* Reserved for future use */
|
||||
};
|
||||
|
||||
/* Backwards compatibility hacks. */
|
||||
/* Backwards compatibility hacks */
|
||||
#define ut_name ut_user
|
||||
#ifndef _NO_UT_TIME
|
||||
#define ut_time ut_tv.tv_sec
|
||||
|
|
Loading…
Reference in New Issue