aboutsummaryrefslogtreecommitdiff
path: root/libiberty/atexit.c
diff options
context:
space:
mode:
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