1 |
/* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */ |
/* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */ |
2 |
/* This function is in the public domain. --Mike Stump. */ |
/* This function is in the public domain. --Mike Stump. */ |
3 |
|
|
4 |
|
/* |
5 |
|
|
6 |
|
@deftypefn Supplemental int atexit (void (*@var{f})()) |
7 |
|
|
8 |
|
Causes function @var{f} to be called at exit. Returns 0. |
9 |
|
|
10 |
|
@end deftypefn |
11 |
|
|
12 |
|
*/ |
13 |
|
|
14 |
#include "config.h" |
#include "config.h" |
15 |
|
|
16 |
#ifdef HAVE_ON_EXIT |
#ifdef HAVE_ON_EXIT |