Must main return a value?

Doug Gwyn gwyn at smoke.brl.mil
Sat Jun 29 09:46:14 AEST 1991


In article <1991Jun28.072521.1 at sysjj.mdcbbs.com> hooverm at sysjj.mdcbbs.com (SQUID 6 on the DARK side) writes:
>I use:
>	void main()
>	{
>	insert magic code here
>	}
>This seems to work well on all three platforms.

Damn it, this is comp.std.c, not comp.lang.c.neophyte.  Walter Murray was
asking a standard-related question; he presumably doesn't care any more
than I do whether or not you have successfully gotten away with violations
of the C standard using a small number of specific implementations.



More information about the Comp.std.c mailing list