lua-users home
lua-l archive

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


On Wed, Oct 17, 2012 at 6:31 PM, Jorge <xxopxe@gmail.com> wrote:
>> Btw, you cannot meaningfully select() on files in linux. You can

> Hm, i must be missing something (again). I've done
>
> local fd = nixio.open('/dev/ttyUSB0', nixio.open_flags('rdwr', 'nonblock'))

/dev/ttyUSB0 isn't a file.

Sam