bug-gnulib
[Top][All Lists]
Advanced

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

Re: read-file


From: Larry Jones
Subject: Re: read-file
Date: Fri, 16 Jun 2006 15:32:01 -0400 (EDT)

Aaron Stone writes:
> 
> If I were using a function like this, I'd expect NULL on error (and
> errno set according to fopen), and an empty string if the file is empty.

Note that the C Standard doesn't require fopen to set errno and
traditional implementations didn't, at least in some cases.

-Larry Jones

I think we need to change the rules. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]