On Tue, 6 May 2008 14:03:03 -0500 "Nathan Ingersoll" <[EMAIL PROTECTED]>
babbled:
we still use fwrite for writing to the eet file - buffering is good in f* funcs
- but yes, in theory read() for that example would work.
> In case you missed my question on IRC...
>
> On Tue, May 6, 2008 at 10:56 A
In case you missed my question on IRC...
On Tue, May 6, 2008 at 10:56 AM, Enlightenment CVS
<[EMAIL PROTECTED]> wrote:
>
> f = fopen(file, "rb");
> if (!f) return NULL;
>
> +if (fstat(fileno(f), &file_stat)
> +|| file_stat.st_size < 1)
> +{
> +fclose(f);
> +