lua-users home
lua-l archive

Re: file:write() fails silently for read-only files

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


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.

AltStyle によって変換されたページ (->オリジナル) /