Hash :
7941742a
Author :
Date :
2024-04-25T22:07:37
doc: Remove documentation of IRIX as supported platform. * doc/posix-headers/netdb.texi: Don't mention IRIX specific workarounds. * doc/posix-headers/pthread.texi: Likewise. * doc/posix-headers/sys_socket.texi: Likewise. * doc/posix-headers/wctype.texi: Likewise. * doc/posix-functions/btowc.texi: Likewise. * doc/posix-functions/cbrtf.texi: Likewise. * doc/posix-functions/cbrtl.texi: Likewise. * doc/posix-functions/copysignf.texi: Likewise. * doc/posix-functions/exp2.texi: Likewise. * doc/posix-functions/exp2f.texi: Likewise. * doc/posix-functions/exp2l.texi: Likewise. * doc/posix-functions/expm1f.texi: Likewise. * doc/posix-functions/expm1l.texi: Likewise. * doc/posix-functions/fabsl.texi: Likewise. * doc/posix-functions/isnan.texi: Likewise. * doc/posix-functions/iswblank.texi: Likewise. * doc/posix-functions/link.texi: Likewise. * doc/posix-functions/log10l.texi: Likewise. * doc/posix-functions/log1pf.texi: Likewise. * doc/posix-functions/log2.texi: Likewise. * doc/posix-functions/log2f.texi: Likewise. * doc/posix-functions/log2l.texi: Likewise. * doc/posix-functions/lseek.texi: Likewise. * doc/posix-functions/nl_langinfo.texi: Likewise. * doc/posix-functions/pthread_sigmask.texi: Likewise. * doc/posix-functions/remainderf.texi: Likewise. * doc/posix-functions/remainderl.texi: Likewise. * doc/posix-functions/rintf.texi: Likewise. * doc/posix-functions/sigaltstack.texi: Likewise. * doc/posix-functions/strtod.texi: Likewise. * doc/posix-functions/strtold.texi: Likewise. * doc/posix-functions/vscanf.texi: Likewise. * doc/posix-functions/wctob.texi: Likewise. * doc/**/*.texi: Update.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
@node utmp.h
@section @file{utmp.h}
Defines functions for login and logout (to a tty session) and for examining the
history of logins and logouts.
Documentation:
@itemize
@item
@ifinfo
@ref{Manipulating the Database,,Manipulating the User Accounting Database,libc},
@end ifinfo
@ifnotinfo
@url{https://www.gnu.org/software/libc/manual/html_node/Manipulating-the-Database.html},
@end ifnotinfo
@item
@uref{https://www.kernel.org/doc/man-pages/online/pages/man5/utmp.5.html,,man utmp}.
@end itemize
Gnulib module: utmp
Portability problems fixed by Gnulib:
@itemize
@item
This header file is missing on some platforms:
FreeBSD 14.0, mingw, MSVC 14.
@item
@code{<sys/types.h>} is a prerequisite of @code{<utmp.h>} on some platforms:
FreeBSD 8.0, OpenBSD 7.2.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
While some platforms have the @code{struct utmp} field @code{ut_user},
older platforms have the field @code{ut_name}.
@item
The @code{struct utmp} fields @code{ut_id}, @code{ut_pid}, @code{ut_type}
do not exist on some platforms:
macOS, old FreeBSD, NetBSD, OpenBSD, Minix.
@item
The @code{struct utmp} field @code{ut_host} does not exist on some platforms:
Solaris.
@item
The @code{struct utmp} field @code{ut_exit} does not exist on some platforms:
macOS, old FreeBSD, NetBSD, OpenBSD, Minix, Cygwin.
@item
The @code{struct utmp} field @code{ut_session} does not exist on some platforms:
macOS, old FreeBSD, NetBSD, OpenBSD, Minix, AIX, HP-UX, Solaris, Cygwin.
@item
The @code{struct utmp} field @code{ut_addr} or @code{ut_addr_v6} does not exist
on some platforms:
macOS, old FreeBSD, NetBSD, OpenBSD, Minix, AIX, Solaris.
@item
On some platforms, this API does not support timestamps past the
year 2038:
glibc 2.38 on 32-bit platforms like x86 and ARM where @code{time_t}
was historically 32 bits.
@item
On some platforms, this header misbehaves if the @code{year2038} or
@code{year2038-recommended} modules are used and the program is
configured without the @option{--disable-year2038} option.
The @code{readutmp} module works around this problem:
glibc 2.38 on 32-bit platforms like x86 and ARM where @code{time_t}
was historically 32 bits.
@xref{Avoiding the year 2038 problem}.
@end itemize