aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/utmp.h
blob: 4c3d33e987a22edcfb038ada2ba2ca039818aa2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _UTMP_H

#define _UTMP_H	1

#include <time.h>

struct utmp
  {
#define	ut_name	ut_user
    char ut_user[8];
    char ut_id[4];
    char ut_line[12];
    short ut_pid;
    short ut_type;
    struct exit_status
      {
	short e_termination;
	short e_exit;
      } ut_exit;
    time_t ut_time;
  };

#endif /* utmp.h.  */