From d512a4a9c161c70c03c843d3f901fdc7d4c147ac Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Fri, 9 May 2014 13:24:18 -0400 Subject: [PATCH] Index atexit in the documentation, to make it easier to find for people coming from C --- .../racket-doc/scribblings/reference/plumbers.scrbl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/racket-pkgs/racket-doc/scribblings/reference/plumbers.scrbl b/pkgs/racket-pkgs/racket-doc/scribblings/reference/plumbers.scrbl index 2f50772843..92afd56bc5 100644 --- a/pkgs/racket-pkgs/racket-doc/scribblings/reference/plumbers.scrbl +++ b/pkgs/racket-pkgs/racket-doc/scribblings/reference/plumbers.scrbl @@ -6,7 +6,9 @@ A @deftech{plumber} supports @deftech{flush callbacks}, which are normally triggered just before a Racket process or @tech{place} exits. For example, a @tech{flush callback} might flush an output port's -buffer. +buffer.@margin-note{@tech{Flush callbacks} are roughly analogous to the standard C +library's @as-index{@tt{atexit}}, but flush callback can also be used in other, +similar scenarios.} There is no guarantee that a flush callback will be called before a process terminates---either because the plumber is not the original