[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Any to get the file descriptors from io library ?
- From: Tom N Harris <whoopdedo@...>
- Date: Tue, 07 Jul 2015 12:49:16 -0400
On Tuesday, July 07, 2015 01:27:59 PM Laurent FAILLIE wrote:
> 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*.