lua-users home
lua-l archive

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


I am trying to test errors in read operations (io.read - io.line). Does
anyone know a reliable/automatic way to generate a read error on
Linux? (That is, a situation where fread returns EOF and ferror returns
not zero.)

-- Roberto