On Tue, Aug 5, 2008 at 3:31 PM, Bill Cunningham <[EMAIL PROTECTED]> wrote:

>    Well I never really use errno.h or any of C90's error codes. I have
> thought of using perror and feof but I never use them. I guess I just like
> C89 old-fashioned error checking. So if I'm not using errno.h do I just
> disregard that returning of EOF ? I don't think gcc-3.4.6 or any version is
> quite fully C90 compliant yet if I'm correct. I misunderstood what EOF meant
> I think in the manual.

To be honest, I never check the error status of fclose() anyway. You
can't use the stream anymore regardless of whether there is an error.
Checking fopen() for errors is pretty much mandatory.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
 If I were to divulge it, it would overturn the world."
 -- Jelaleddin Rumi

Reply via email to