[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: file:write() fails silently for read-only files
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 8 Sep 2011 12:47:18 +0200
On Thu, Sep 8, 2011 at 12:39 PM, liam mail <liam.list@googlemail.com> 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.
- References:
- file:write() fails silently for read-only files, HyperHacker
- Re: file:write() fails silently for read-only files, startx
- Re: file:write() fails silently for read-only files, HyperHacker
- Re: file:write() fails silently for read-only files, startx
- Re: file:write() fails silently for read-only files, steve donovan
- Re: file:write() fails silently for read-only files, Enrico Colombini
- Re: file:write() fails silently for read-only files, Josh Simmons
- Re: file:write() fails silently for read-only files, Josh Simmons
- Re: file:write() fails silently for read-only files, steve donovan
- Re: file:write() fails silently for read-only files, liam mail