[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: os.exit() with EXIT_SUCCESS and _FAILURE
- From: Rob Kendrick <rjek@...>
- Date: Tue, 5 Oct 2010 12:27:38 +0100
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.