summaryrefslogtreecommitdiff
path: root/libiberty/atexit.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-09-26 18:45:50 +0000
committerDJ Delorie <dj@delorie.com>2001-09-26 18:45:50 +0000
commitbd7ce1bbb2ea47e045e6dd755cf16f05a2555309 (patch)
tree9fcc8e3e643152ed109636c5420b217c9d116002 /libiberty/atexit.c
parent3d6b05970e5c5b951cf734883641e64090a3c370 (diff)
downloadgdb-bd7ce1bbb2ea47e045e6dd755cf16f05a2555309.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/atexit.c')
-rw-r--r--libiberty/atexit.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libiberty/atexit.c b/libiberty/atexit.c
index 137d985e4cb..e14de29ab1d 100644
--- a/libiberty/atexit.c
+++ b/libiberty/atexit.c
@@ -1,6 +1,16 @@
/* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */
/* This function is in the public domain. --Mike Stump. */
+/*
+
+@deftypefn Supplemental int atexit (void (*@var{f})())
+
+Causes function @var{f} to be called at exit. Returns 0.
+
+@end deftypefn
+
+*/
+
#include "config.h"
#ifdef HAVE_ON_EXIT