1#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG4 2type {struct utmpx} 3 4element {struct utmpx} char ut_user [] 5element {struct utmpx} char ut_id [] 6element {struct utmpx} char ut_line [] 7element {struct utmpx} pid_t ut_pid 8element {struct utmpx} {short int} ut_type 9// Layout chosen to be compatible on 32-bit and 64-bit bi-arch 10// systems, which is incompatible with the standard type (see bug 11// 18235). 12xfail-element {struct utmpx} {struct timeval} ut_tv 13 14type pid_t 15 16type {struct timeval} 17 18element {struct timeval} time_t tv_sec 19element {struct timeval} suseconds_t tv_usec 20 21constant EMPTY 22constant BOOT_TIME 23constant OLD_TIME 24constant NEW_TIME 25constant USER_PROCESS 26constant INIT_PROCESS 27constant LOGIN_PROCESS 28constant DEAD_PROCESS 29 30function void endutxent (void) 31function {struct utmpx*} getutxent (void) 32function {struct utmpx*} getutxid (const struct utmpx*) 33function {struct utmpx*} getutxline (const struct utmpx*) 34function {struct utmpx*} pututxline (const struct utmpx*) 35function void setutxent (void) 36 37allow-header sys/time.h 38 39allow ut_* 40allow *_t 41#endif 42