12 #define __NEED_suseconds_t
13 #define __NEED_struct_timeval
15 #include <bits/alltypes.h>
25 short __e_termination
;
30 unsigned ut_addr_v6
[4];
35 struct utmpx
*getutxent(void);
36 struct utmpx
*getutxid(const struct utmpx
*);
37 struct utmpx
*getutxline(const struct utmpx
*);
38 struct utmpx
*pututxline(const struct utmpx
*);
41 #if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
42 #define e_exit __e_exit
43 #define e_termination __e_termination
44 void updwtmpx(const char *, const struct utmpx
*);
45 int utmpxname(const char *);
53 #define INIT_PROCESS 5
54 #define LOGIN_PROCESS 6
55 #define USER_PROCESS 7
56 #define DEAD_PROCESS 8