lua-users home
lua-l archive

Re: io:lines() and 0円

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


> Actually the C function behaves properly, just that Lua makes no attempt to
> determine how much was actually read.
If the data read contains 0円 then there is no way to determine how much
was actually read. fgets relies on strlen to determine that.

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