11 #define UT_NAMESIZE 32
12 #define UT_HOSTSIZE 256
13 #define UT_LINESIZE 32
17 char ll_line
[UT_LINESIZE
];
18 char ll_host
[UT_HOSTSIZE
];
21 #define ut_time ut_tv.tv_sec
22 #define ut_name ut_user
23 #define ut_addr ut_addr_v6[0]
25 #define e_exit __e_exit
26 #define e_termination __e_termination
29 struct utmp
*getutent(void);
30 struct utmp
*getutid(const struct utmp
*);
31 struct utmp
*getutline(const struct utmp
*);
32 struct utmp
*pututline(const struct utmp
*);
35 void updwtmp(const char *, const struct utmp
*);
36 int utmpname(const char *);
40 #define _PATH_UTMP "/dev/null/utmp"
41 #define _PATH_WTMP "/dev/null/wtmp"
43 #define UTMP_FILE _PATH_UTMP
44 #define WTMP_FILE _PATH_WTMP
45 #define UTMP_FILENAME _PATH_UTMP
46 #define WTMP_FILENAME _PATH_WTMP