Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
[glibc.git] / sysdeps / unix / sysv / utmpbits.h
blobe8d9334af16b33ca77acc77adf5a5abebdff056f
1 /* The `struct utmp' type, describing entries in the utmp file. System V.
2 Copyright (C) 1996 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If
17 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
18 Cambridge, MA 02139, USA. */
20 #ifndef _UTMPBITS_H
22 #define _UTMPBITS_H 1
24 #include <time.h>
26 struct utmp
28 #define ut_name ut_user
29 char ut_user[8];
30 char ut_id[4];
31 char ut_line[12];
32 short ut_pid;
33 short ut_type;
34 struct exit_status
36 short e_termination;
37 short e_exit;
38 } ut_exit;
39 time_t ut_time;
42 #endif /* utmpbits.h */