Mercurial > hg > octave-kai > gnulib-hg
view lib/atexit.c @ 5111:513a73ee50a0
Remove "fatal" module.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 03 Aug 2004 18:40:30 +0000 |
parents | 7cf472970457 |
children | 96c32553b4c6 |
line wrap: on
line source
/* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */ /* This function is in the public domain. --Mike Stump. */ #include "config.h" int atexit (void (*f) (void)) { /* If the system doesn't provide a definition for atexit, use on_exit if the system provides that. */ on_exit (f, 0); return 0; }