@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 11.1, FreeBSD 13.0, NetBSD 9.0, OpenBSD 6.7, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 11.4, mingw, MSVC 14, Android 9.0.
@end itemize
