lua-users home
lua-l archive

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


On Sat, 17 Oct 2009, duck wrote:

> Forgive my ignorance (can't find an answer by searching), but can I map a 
> specific file descriptor onto an io object?

Here's a small library that lets you do that:

http://sage.discontinuity.info/cgi-bin/gitweb/gitweb.cgi?p=thin.git;a=blob_plain;f=lfdopen.c

Cheers,

Joonas