Hi Randall,
How do I get the value of errno after my call?
Now there is an 'errno' function (64 bits only).
For example:
: (in mist (read)) # Produce an error
!? (in mist (read))
mist -- Open error: No such file or directory
: (errno) # Get the error number
- 2
Then this
Hi Alex,
I tried to compile the 64 bit version on my macbook yesterday - no
joy. I think I have to create the /usr/bin/picolisp and
/usr/lib/picolisp links to the 32 bit version and then create the .s
files. I didn't get that far yet.
Thanks for the 'errno' call.
I'll try again this
Hi Randall,
I tried to compile the 64 bit version on my macbook yesterday - no
joy. I think I have to create the /usr/bin/picolisp and
/usr/lib/picolisp links to the 32 bit version and then create the .s
files. I didn't get that far yet.
This should not be necessary. The .s files are in the
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.