From 46dddeb68c11d3827748651caa6f17c67b289a07 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Wed, 9 Oct 1996 11:15:13 +0000 Subject: pervasives: ajout de do_at_exit. std_exit: appeler do_at_exit mais pas exit (pour permettre le retour dans du code C) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1069 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- stdlib/std_exit.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib/std_exit.ml') diff --git a/stdlib/std_exit.ml b/stdlib/std_exit.ml index 5debeac6d..e53eadfd6 100644 --- a/stdlib/std_exit.ml +++ b/stdlib/std_exit.ml @@ -11,6 +11,6 @@ (* $Id$ *) -(* Ensure that [exit] is called at the end of every program *) +(* Ensure that [at_exit] functions are called at the end of every program *) -let _ = exit 0 +let _ = do_at_exit() -- cgit v1.2.3-70-g09d2