Next: wchar.h, Previous: utime.h, Up: ISO C and POSIX Header File Substitutes [Contents][Index]
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/utmpx.h.html
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
struct utmpx
field ut_user
,
older platforms have the field ut_name
.
struct utmpx
field ut_exit
does not exist on some platforms:
macOS, FreeBSD, AIX, Cygwin.
struct utmpx
field ut_session
does not exist
on some platforms:
macOS, FreeBSD, AIX, HP-UX, Cygwin.
struct utmpx
field ut_addr
or ut_addr_v6
or
ut_ss
does not exist on some platforms:
macOS, FreeBSD, AIX, IRIX, Solaris.
time_t
was historically 32 bits.
year2038
or
year2038-recommended
modules are used and the program is
configured without the --disable-year2038 option.
The readutmp
module works around this problem:
glibc 2.38 on 32-bit platforms like x86 and ARM where time_t
was historically 32 bits.
See Avoiding the year 2038 problem.