view modules/atexit @ 17724:8526f2f0b117

maint.mk: give projects more flexibilty in set_prog_name arguments * top/maint.mk (sc_program_name): Allow arguments other than argv[0] to be passed to set_program_name(). This is needed by the multicall coreutils program for example.
author Pádraig Brady <P@draigBrady.com>
date Sat, 12 Jul 2014 15:21:12 +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