[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua Stand-Alone changes in 5.0-alpha
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 20 Sep 2002 10:06:15 -0300
> So I suppose it is safe to assume EXIT_SUCCESS is always 0 on all
> systems. Seems like a widely used convention anyway.
Well, ANSI requires that 0 means successful termination, but it does
not require EXIT_SUCCESS to be 0 (that is, 0 and EXIT_SUCCESS may be
different values both meaning successful termination). As we already use
0 in several other places (as you pointed out), it is easier to remove
EXIT_SUCCESS and to use only 0.
-- Roberto