Replace FSF snail mail address with URLs.
[glibc.git] / sysdeps / unix / sysv / linux / s390 / s390-32 / utmp32.h
blobf578d266d62c709e4cff2996ae31f86bbe62d2b2
1 /* The `struct utmp' type, describing entries in the utmp file. GNU version.
2 Copyright (C) 1993, 1996, 1997, 1998, 1999, 2002, 2008
3 Free Software Foundation, Inc.
4 This file is part of the GNU C Library.
6 The GNU C Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 The GNU C Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with the GNU C Library; if not, see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef _UTMP32_H
21 #define _UTMP32_H 1
23 #include <paths.h>
24 #include <sys/time.h>
25 #include <sys/types.h>
26 #include <bits/wordsize.h>
27 #include <utmp.h>
29 /* The structure describing an entry in the user accounting database. */
30 struct utmp32
32 short int ut_type; /* Type of login. */
33 pid_t ut_pid; /* Process ID of login process. */
34 char ut_line[UT_LINESIZE]; /* Devicename. */
35 char ut_id[4]; /* Inittab ID. */
36 char ut_user[UT_NAMESIZE]; /* Username. */
37 char ut_host[UT_HOSTSIZE]; /* Hostname for remote login. */
38 struct exit_status ut_exit; /* Exit status of a process marked
39 as DEAD_PROCESS. */
40 int32_t ut_session; /* Session ID, used for windowing. */
41 struct
43 int32_t tv_sec; /* Seconds. */
44 int32_t tv_usec; /* Microseconds. */
45 } ut_tv; /* Time entry was made. */
47 int32_t ut_addr_v6[4]; /* Internet address of remote host. */
48 char __unused[20]; /* Reserved for future use. */
52 #endif /* utmp32.h */