getutmp(3) Library Functions Manual getutmp(3) getutmp, getutmpx - utmp utmpx (libc -lc) #define _GNU_SOURCE /* feature_test_macros(7) */ #include void getutmp(const struct utmpx *ux, struct utmp *u); void getutmpx(const struct utmp *u, struct utmpx *ux); getutmp() utmpx ux utmp u. getutmpx() . . attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |getutmp(), | | MT-Safe | |getutmpx() | | | +------------+------------------------------------+--------------------+ . glibc 2.1.1. Solaris NetBSD. utmp utmpx . . utmpdump(1), getutent(3), utmp(5) 3 . . : . 6.18 17 2025 getutmp(3)