lua-users home
lua-l archive

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


> My understanding was that Lua closed files at program end time.

Yes, because C closes all open files when a program ends normally.
However, it's recommended that you close all files yourself to guard against
crashes or bad compilers.