The ext:quit function calls unix:unix-exit which in turn makes a
foreign function call to the C standard library exit.

Among other things, CMUCL will record the name a file a function is
loaded from.  If you describe the function, you should see the source
location.  This will narrow down your search considerably.

* (describe 'ext:quit)

QUIT is an external symbol in the EXTENSIONS package.
...
On Saturday, 4/22/06 02:21:14 am EDT it was compiled from:
target:code/lispinit.lisp
  Created: Tuesday, 10/19/04 04:13:30 pm EDT
  Comment: $Header: /project/cmucl/cvsroot/src/code/lispinit.lisp,v
1.75 2004/10/19 20:13:30 cwang Exp $

Good luck with your project to create a Lisp front end to GCC.  It
sounds like a worthy endeavor.

On Dec 6, 2007 12:08 PM, Tim Josling <[EMAIL PROTECTED]> wrote:
> As background I am using CMU Lisp to write a language front end to GCC.
>
> I have spent about an hour looking in the docs for this function to no
> avail. Peraps I should use the FFI?
>
> In C it is (exit n)
>
> In gcl it is (by n)
> In SBCL it is (sb-ext:quit n)
> In CLISP (EXT:EXIT &OPTIONAL status)
> In CMU...
>
> Also how should I have been able to find this?
>
> Thanks,
> Tim Josling
>
>
>

Reply via email to