lua-users home
lua-l archive

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

If it's Linux, you should have the low level file functions from stdlib. You can code your own I/O functions to return errors at any given point in a stream. Works against FILE pointers, so you wouldn't have to change much else.