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