Re: EXIT_SUCCESS guaranteed to always be zero?
From: Dan Pop (Dan.Pop_at_cern.ch)
Date: 27 Nov 2003 11:54:47 GMT
In <firstname.lastname@example.org> Zack Weinberg <email@example.com> writes:
>You may be wondering 'why define EXIT_SUCCESS at all if 0 has the same
>effect?' It is presumably for symmetry with EXIT_FAILURE.
EXIT_SUCCESS is the C89 way of doing it, while 0 is obviously supported
because it was the (most common) existing practice. Things would
have been much clear if C89 deprecated the usage of 0 for this purpose.
-- Dan Pop DESY Zeuthen, RZ group Email: Dan.Pop@ifh.de