lua-users home
lua-l archive

Re: [ANN] luajit-msgpack - with questions to Mike

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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

AltStyle によって変換されたページ (->オリジナル) /