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 also works:

   : (native NIL "strerror" 'S (errno))
   -> "No such file or directory"

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

Reply via email to