[UFFI-Users] libc.so and UFFI why this doesn't work

Kevin Rosenberg kevin at rosenberg.net
Sat Feb 17 20:05:00 MST 2007


Patrick X wrote:
> libc.so loaded fine but can't use stat() function from it
> (defstruct timestruc

There are examples of using C structures with UFFI in
tests/structs.lisp and tests/time.lisp

> the same things happen if I give a pathname like #p"/usr"

Keep in mind that Lisp directories must end with a slash. #p"/usr"
means a file named "usr" in the directory "/".

Kevin


More information about the UFFI-Users mailing list