[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: read error
- From: "Henderson, Michael D" <michael.d.henderson@...>
- Date: Tue, 08 Nov 2011 08:27:00 -0700
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.
http://www.gnu.org/s/hello/manual/libc/Streams-and-Cookies.html#Streams-and-Cookies