[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] luajit-msgpack - with questions to Mike
- From: "Robert G. Jakabosky" <bobby@...>
- Date: Fri, 25 Nov 2011 19:41:33 -0800
On Friday 25, Mike Pall wrote:
> ffi.errno() is not compiled, because it's supposed to be called
> only in the (uncommon) error path.
Not always. When doing nonblocking socket IO it is common to get EAGAIN on
read/recv calls, or EINPROGRESS from connect(). I created a wrapper C
function for errno in one my new bindings [1], because ffi.errno() was not
compiled.
1. https://github.com/Neopallium/lua-llnet
--
Robert G. Jakabosky