lua-users home
lua-l archive

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


On Wed, Oct 17, 2012 at 11:05 PM, William Ahern
<william@25thandclement.com> wrote:
> You can't poll on _regular_ files. It's actually a POSIX requirement that
> regular files always signal immediate readiness for reading and writing.

yeah, i've heard similar things.  unfortunately, i haven't found where
in the standard is that defined.  Also, it's not clear if that
"regular files are always ready" requirement is just for select(), or
also for other polling syscalls.  in short, is there _any_ way to
really check readyness of regular files?

-- 
Javier