Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven.umd.edu!mimsy!midway!midway.uchicago.edu!tl From: tl@tenacity.cs.uchicago.edu (Teng Li) Newsgroups: comp.lang.lisp Subject: call C proceudre from Lisp Message-ID: Date: 25 Apr 91 00:00:31 GMT Sender: news@midway.uchicago.edu (NewsMistress) Distribution: comp.lang.lisp Organization: University of Chicago Computer Science Lines: 10 Could anyone over there tell me how to include C subroutines which would be written in a file into a Lisp program and how to call them from Common Lisp? I need to do system call to excute some shell commands, thus I have to write C code to deal with it.(Is that right?) And my routines would be called by Lisp program. Do I need some interfaces to make the C routines be recognized by Lisp? Any information and suggestion would be very helpful. Thanks in advance.