TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: George White
from: Mike Ruskai
date: 1995-04-24 23:28:36
subject: Re: EMX main()

Some senseless babbling from George White to Mike Ruskai
on 22 Apr 95  08:54:48 about EMX main()...

 GW> The DOS compilers that allow a "void main (void)" declaration still
 GW> return a value to the OS on exit, they just do it under the hood.

I figured that.  The first compiler I played with was Borland TC++ 3.0 for 
DOS, and that allowed the void (I didn't want to be bothered with putting a 
RETURN in there).  EMX doesn't whine about a lack of a RETURN statement 
though, which I kind of prefer.

Thanks for the info (and the others who replied, too).

[Mike Ruskai][FidoNet][ITCnet][OS/2Net][RGSNet][ibmNET]
[{Team OS/2}][mruskai{at}metronj.org]


... Any problem can be solved by shooting the right person.
~~~ ReneWave v1.00.wb1+
--- RG 10-5 Exp/GE 1.02+
* Origin: The Licking Factory, OS/2 in NJ! (908)815-3146 (1:107/634)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 107/634 677 696 13/24 3615/50 396/1 270/101 105/103 42 712/515 711/808
@PATH: 711/809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.