root/maint/gnulib/lib/atexit.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. atexit

   1 /* Wrapper to implement ANSI C's atexit using SunOS's on_exit.  */
   2 /* This file is in the public domain.  */
   3 
   4 /* Written by Mike Stump.  */
   5 
   6 #include <config.h>
   7 
   8 int
   9 atexit (void (*f) (void))
     /* [previous][next][first][last][top][bottom][index][help] */
  10 {
  11   /* If the system doesn't provide a definition for atexit, use on_exit
  12      if the system provides that.  */
  13   on_exit (f, 0);
  14   return 0;
  15 }

/* [previous][next][first][last][top][bottom][index][help] */