view modules/atexit @ 40164:b973ad598121

Fix build error when building a shared libunistring on Android. * tests/uninorm/test-nfc.c (n): Don't define on Android. (main): Add 'volatile', to defeat a GCC optimization that would eliminate the reference. * tests/uninorm/test-nfd.c (n): Don't define on Android. (main): Add 'volatile', to defeat a GCC optimization that would eliminate the reference. * tests/uninorm/test-nfkc.c (n): Don't define on Android. (main): Add 'volatile', to defeat a GCC optimization that would eliminate the reference. * tests/uninorm/test-nfkd.c (n): Don't define on Android. (main): Add 'volatile', to defeat a GCC optimization that would eliminate the reference.
author Bruno Haible <bruno@clisp.org>
date Mon, 28 Jan 2019 21:14:08 +0100
parents 9d2461ce0af7
children
line wrap: on
line source

Description:
atexit() function: register a function to be called at program termination.

Status:
obsolete

Notice:
This module is obsolete.

Files:
lib/atexit.c
m4/atexit.m4

Depends-on:

configure.ac:
gl_FUNC_ATEXIT
if test $ac_cv_func_atexit = no; then
  AC_LIBOBJ([atexit])
  gl_PREREQ_ATEXIT
fi

Makefile.am:

Include:
<stdlib.h>

License:
public domain

Maintainer:
Jim Meyering