Hi Randall,

> I am trying to use 'native', am getting only 'NIL' as the return
> value, where I would like to be getting a file descriptor number.

If you supply the symbol 'I' as the <ret> argument to native,

   (native "fun" "lib" <ret> <val> ..)

you'll get the int return value from the native function. For example:

   : (native NIL "printf" 'I "hello^J")
   hello
   -> 6


> How do I get the value of "errno" after my call?

Oops, there is no interface yet. Will be in the future.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to