On Tuesday, July 07, 2015 01:27:59 PM Laurent FAILLIE wrote:
> Hello,
> I wrote an hybrid application in C and Lua and I would like to poll() from C
> side file descriptors used by Lua's IO library. But how can I retrieve this
> FD ?
>
Since 5.2, luaL_Stream. In 5.1 the userdata just boxed a FILE*.
http://www.lua.org/manual/5.3/manual.html#luaL_Stream--
tom <
telliamed@whoopdedo.org>