From 593f7b6f7eda04b3436d6e55209aaab1e3983eff Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 29 Jun 2008 06:24:54 +0000 Subject: [PATCH] Enhance description of ut_session --- man5/utmp.5 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/man5/utmp.5 b/man5/utmp.5 index 27d790e8c..10f97726e 100644 --- a/man5/utmp.5 +++ b/man5/utmp.5 @@ -96,8 +96,8 @@ 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 (\fBgetsid\fP(2)), + used for windowing */ struct { int32_t tv_sec; /* Seconds */ int32_t tv_usec; /* Microseconds */ @@ -232,6 +232,11 @@ with specifications for the fields .IR ut_user , and .IR ut_tv . +POSIX.1 does not specify the lengths of the +.I ut_line +and +.I ut_user +fields. Linux defines the .I utmpx