<div dir="ltr">Hi - <br><br>I found this thread discussing FFI & errno - <a href="http://list.cs.brown.edu/pipermail/plt-scheme/2008-March/023478.html">http://list.cs.brown.edu/pipermail/plt-scheme/2008-March/023478.html</a>. Is there a potential solution on the horizon?<br>
<br>I currently wrap it in a procedure as follows:<br><br>(define (libc:errno)<br> (get-ffi-obj "errno" libc _int<br> (lambda ()<br> (error 'libc:errno<br> "unable to retrieve errno"))))<br>
<br>Is this even close? I imagine that it's possible for mzscheme to set errno before I retrieve the value... <br><br>Thanks,<br>yc<br><br><br><br></div>