Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #ifndef _UTMP_H |
| 2 | #define _UTMP_H |
| 3 | |
| 4 | #include <utmpx.h> |
| 5 | |
| 6 | #define ut_time ut_tv.tv_sec |
| 7 | #define ut_name ut_user |
| 8 | #define ut_exit __ut_exit |
| 9 | #define e_termination __e_termination |
| 10 | #define e_exit __e_exit |
| 11 | #define utmp utmpx |
| 12 | #define endutent endutxent |
| 13 | #define getutent getutxent |
| 14 | #define setutent setutxent |
| 15 | #define getutid getutxid |
| 16 | #define getutline getutxline |
| 17 | #define pututline pututxline |
| 18 | #define utmpname(x) (-1) |
| 19 | |
| 20 | #define _PATH_UTMP "/dev/null" |
| 21 | #define _PATH_WTMP "/dev/null" |
| 22 | |
| 23 | #endif |