wfix + ffix

This commit is contained in:
Michael Kerrisk 2008-06-29 04:56:36 +00:00
parent ff2548cada
commit 93574a8080
1 changed files with 5 additions and 4 deletions

View File

@ -64,8 +64,8 @@ around; details depend on the version of libc):
#define DEAD_PROCESS 8
#define ACCOUNTING 9
#define UT_LINESIZE 32
#define UT_NAMESIZE 32
#define UT_LINESIZE 32
#define UT_NAMESIZE 32
#define UT_HOSTSIZE 256
struct exit_status {
@ -90,13 +90,14 @@ 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, used for windowing */
int32_t ut_session; /* Session ID, used for
windowing */
struct {
int32_t tv_sec; /* Seconds */
int32_t tv_usec; /* Microseconds */
} ut_tv; /* Time entry was made */
#else
long ut_session; /* Session ID, used for windowing */
long ut_session; /* Session ID */
struct timeval ut_tv; /* Time entry was made */
#endif