12 #define __NEED_suseconds_t
13 #define __NEED_struct_timeval
15 #include <bits/alltypes.h>
26 short __e_termination;
29 #if __BYTE_ORDER == 1234
30 int ut_session, __ut_pad2;
32 int __ut_pad2, ut_session;
35 unsigned ut_addr_v6[4];
40 struct utmpx *getutxent(void);
41 struct utmpx *getutxid(const struct utmpx *);
42 struct utmpx *getutxline(const struct utmpx *);
43 struct utmpx *pututxline(const struct utmpx *);
46 #if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
47 #define e_exit __e_exit
48 #define e_termination __e_termination
49 void updwtmpx(const char *, const struct utmpx *);
50 int utmpxname(const char *);
58 #define INIT_PROCESS 5
59 #define LOGIN_PROCESS 6
60 #define USER_PROCESS 7
61 #define DEAD_PROCESS 8