[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Luajit and errno
- From: Florian Weimer <fw@...>
- Date: Mon, 09 May 2011 07:34:24 +0200
* Mike Pall:
> And I've added ffi.errno() which provides an OS-independent and
> portable way to get errno. See:
> http://luajit.org/ext_ffi_api.html#ffi_errno
Could you add ffi.seterrno(), too? I think it's needed because there
are some C functions that cannot signal all errors if the original
errno value is non-zero (e.g. strtold()).