aboutsummaryrefslogtreecommitdiff
path: root/libiberty/atexit.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
committerDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
commit39423523167c47f72822dbb9eb3ab4a0dfeafe68 (patch)
treeb437d1ed0d3cb7e6a0a67e5dd30ef19abbedb95e /libiberty/atexit.c
parent4e6667ac4f987fecbcf576513c70485a4718712e (diff)
downloadgdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.zip
gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz
gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.bz2
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 137d985..e14de29 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