From 40d4a353295ed43b2c31863d03870bab0a5e13a1 Mon Sep 17 00:00:00 2001 From: Leif Andersen Date: Sun, 4 Jun 2017 18:47:07 -0400 Subject: [PATCH] Add documentation for scheme_atexit --- pkgs/racket-doc/scribblings/inside/custodians.scrbl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/racket-doc/scribblings/inside/custodians.scrbl b/pkgs/racket-doc/scribblings/inside/custodians.scrbl index 5305dc778a..05cdf1d1a3 100644 --- a/pkgs/racket-doc/scribblings/inside/custodians.scrbl +++ b/pkgs/racket-doc/scribblings/inside/custodians.scrbl @@ -135,3 +135,15 @@ file-stream output port would disable the flushing action of the final at-exit function. Typically, an at-exit function ignores most objects while handling a specific type of object that requires a specific clean-up action before the OS-level process terminates.} + +@function[(int scheme_atexit + [Exit_Func func])]{ + + Identical to calling the system's @cpp{atexit} function. + Provided to give programs a common interface, different + systems link to @cpp{atexit} in different ways. The type of + @var{func} must be: + + @verbatim[#:indent 2]{ + typedef void (*func)(void); +}}