From c59bde66e9e91c96ac6656863cb285e70d183ff9 Mon Sep 17 00:00:00 2001 From: mdw Date: Mon, 13 Feb 2006 11:54:33 +0000 Subject: [PATCH] sys-base: Expand hard-exit a bit. --- sys-base.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-base.lisp b/sys-base.lisp index fdbf4fb..47ef2fb 100644 --- a/sys-base.lisp +++ b/sys-base.lisp @@ -45,9 +45,10 @@ return to the top-level REPL." (abort)))) #+cmu -(defun hard-exit (code) +(defun hard-exit (&optional (code 0)) "Stops the program immediately in its tracks. Does nothing else. Use after fork, for example, to avoid flushing buffers." + (declare (type (unsigned-byte 32) code)) (unix::void-syscall ("_exit" c-call:int) code)) #+cmu -- 2.11.0