jacob navia <> writes:
[...]
> Standard C guarantees a return of zero for a main() function that
> doesn't explicitly assign a return value.
By "Standard C", of course, jacob means C99. In C90, which jacob
insists on ignoring, the exit status of such a program is undefined.
(Yes, C99 superseded C90. Yes, C99 is the one and only official
C standard. We know, jacob, we know.)
--
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"