lua-users home
lua-l archive

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


http://blitiri.com.ar/p/libfiu/ maybe?
I  hope it helps!

On Tue, Nov 8, 2011 at 4:03 PM, Martin Guy <martinwguy@gmail.com> wrote:
On 8 November 2011 15:48, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> 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?

Open a file on a USB pendrive and unplug the pendrive before it reads?

   M




--
Gabriel Duarte
Linux User #471185
France / Grenoble - Rhône Alpes
http://genericdev.wordpress.com/