lua-users home
lua-l archive

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

On Thu, Sep 8, 2011 at 12:39 PM, liam mail <> wrote:
> I would disagree that it is a CRT bug. fwrite which calls fputc is not
> required to set errno, although POSIX says it does.

I assumed that it did, thanks for correcting that.  The portable C way
is to check what the number of bytes which fwrite returns.

steve d.