getutxline
extern struct utmpx *getutxline(const struct utmpx *);
if ((utmpx2 = getutxline(&utmpx)) == NULL)