Edi Weitz <[EMAIL PROTECTED]> writes: > (UNIX:UNIX-EXIT 1 "</body></html>")[:EXTERNAL] > > Is that documented somewhere? Couldn't find it. > > And why does it look like UNIX:UNIX-EXIT accepts two arguments in the > debugger output above? The docstring says it only take one (optional) > argument.
This one I can answer... since UNIX:UNIX-EXIT takes a variable number of arguments, it must have an external entry point (sometimes XEP for short, and indicated by the [:EXTERNAL] above) where the first argument is the number of arguments provided. This XEP then does &optional, &key and &rest argument processing before passing control to the "real" unix-exit function. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge)
