On Sun, Mar 29, 2009 at 11:11 AM, Leslie P. Polzer <s...@viridian-project.de> wrote: > Perhaps one of you guys can spot mistakes here: [...] > CL-USER(14): (execv "/bin/chmod" (null-pointer))
That should be something like: (with-foreign-object (args :string 2) (setf (mem-aref args :string 0) "/bin/chmod") (setf (mem-aref args :pointer 1) (null-pointer)) (execv "/bin/chmod" args)) -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/ _______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel