;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
-;;;; $Id: package.cl,v 1.1 2002/09/16 01:13:49 kevin Exp $
+;;;; $Id: package.cl,v 1.2 2002/09/16 02:22:15 kevin Exp $
;;;;
;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;; downloads.cl
#:std-dl-page
#:full-dl-page
+
+ ;; utils.cl
+ #:lml-quit
))
-;;; $Id: utils.cl,v 1.1 2002/09/16 01:13:49 kevin Exp $
+;;; $Id: utils.cl,v 1.2 2002/09/16 02:22:15 kevin Exp $
;;;;
;;;; General purpose utilities
year
hr min sec))))
+(defun lml-quit (&optional code)
+ "Function to exit the Lisp implementation. Copied from CLOCC's QUIT function."
+ #+allegro (excl:exit code)
+ #+clisp (#+lisp=cl ext:quit #-lisp=cl lisp:quit code)
+ #+cmu (ext:quit code)
+ #+cormanlisp (win32:exitprocess code)
+ #+gcl (lisp:bye code)
+ #+lispworks (lw:quit :status code)
+ #+lucid (lcl:quit code)
+ #+sbcl (sb-ext:quit :unix-code (typecase code (number code) (null 0) (t 1)))
+ #-(or allegro clisp cmu cormanlisp gcl lispworks lucid sbcl)
+ (error 'not-implemented :proc (list 'quit code)))
+
+