@node on_exit
@subsection @code{on_exit}
@findex on_exit

Documentation:
@itemize
@item
@ifinfo
@ref{Cleanups on Exit,,Cleanups on Exit,libc},
@end ifinfo
@ifnotinfo
@url{https://www.gnu.org/software/libc/manual/html_node/Cleanups-on-Exit.html},
@end ifnotinfo
@item
@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/on_exit.3.html,,man on_exit}.
@end itemize

Gnulib module: ---

Portability problems fixed by Gnulib:
@itemize
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, HP-UX 11, Solaris 11.4, mingw, MSVC 14, Android 9.0.
@end itemize
