"Bill Cunningham" <> writes:
> <> wrote in message
> news:033779ff-588a-4b94-82fb-...
>
>> Bill Cunningham on portability. Priceless
>
> I only plan to use this on my system. Or else believe me it would be
> exit(EXIT_FAILURE);
Why on Earth don't you just write "exit(EXIT_FAILURE);" in the first
place? You've wasted far more time trying to justify your
non-portable code than it would take to make it more portable.
If there were some system-specific advantage to using the less
portable code, then that would be fine -- but by your own admission,
exit(1) does exactly the same thing as exit(EXIT_FAILURE) on your
platform.
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"