Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!think.com!linus!linus!stoney!djb From: djb@stoney.mitre.org (David J. Braunegg) Newsgroups: comp.lang.lisp Subject: AKCL strings Message-ID: <127061@linus.mitre.org> Date: 30 Nov 90 19:45:50 GMT Sender: usenet@linus.mitre.org Organization: The MITRE Corporation Lines: 34 In AKCL, has anyone managed to get a C function to return a string that LIsp can use? I tried the following, but get this error when I evaluate (test) Error: NIL is not a VECTOR Error signalled by TEST the code is (in-package 'user) (Clines "#include typedef char *StrinG; extern char name[64]; StrinG hostname() { gethostname(name, 64); return(name); }") (defentry test () (StrinG hostname)) Thanks, Dave