lua-users home
lua-l archive

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


> E.g. stdin may have been closed from C code or may not be open to
> begin with [...]

Once stdin is closed from C code, all is lost. Its corresponding FILE*
may become a dangling pointer, and it is just impossible to detect it.
It seems there is nothing that Lua can do to prevent problems in this
case.

-- Roberto