lua-users home
lua-l archive

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


Powers that be,

Would it be possible for some future version of Lua to expose the C
stdlib.h constants EXIT_SUCCESS and EXIT_FAILURE in the os library, for
use with os.exit()?  The values of them are implementation-defined, and
so they're useful.

(Although C specifies that a value of either 0 or EXIT_SUCCESS signals
success, only EXIT_FAILURE indicates failure.)

B.