getutmp
-------

Documentation:

  * XPG User Accounting Database Functions (libc),

  * man getutmp.

Gnulib module: ---

Portability problems fixed by Gnulib:

Portability problems not fixed by Gnulib:

  * This function is missing on some platforms: FreeBSD 14.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, Cygwin 2.9, mingw, MSVC 14, Android 9.0.

  * On some platforms, this function does not support timestamps past the year 2038: glibc 2.38 on 32-bit platforms like x86 and ARM where time_t was historically 32 bits.

  * On some platforms, this function misbehaves if the 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.