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 <[email protected]> wrote:
On 8 November 2011 15:48, Roberto Ierusalimschy <[email protected]> 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/