diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1996-10-09 11:15:13 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1996-10-09 11:15:13 +0000 |
commit | 46dddeb68c11d3827748651caa6f17c67b289a07 (patch) | |
tree | 5536a25d9df66b1d22026cc486d9e825dbdfd4cd /stdlib/std_exit.ml | |
parent | e4f0480a473cc9b9a801c86d0478f34b32226c5f (diff) |
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
Diffstat (limited to 'stdlib/std_exit.ml')
-rw-r--r-- | stdlib/std_exit.ml | 4 |
1 files changed, 2 insertions, 2 deletions
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() |