view modules/atexit @ 14730:f0a9a2cd267c

fclose: preserve fflush errors Caught by gcc -Werror=unused-but-set-variable. * lib/fclose.c (rpl_fclose): Don't lose fflush errors. Reported by Jim Meyering. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Wed, 11 May 2011 11:35:06 -0600
parents 654d833003ad
children 9d2461ce0af7
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

Makefile.am:

Include:
<stdlib.h>

License:
public domain

Maintainer:
Jim Meyering