lua-users home
lua-l archive

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


> 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