Date: Wed, 4 Sep 1996 12:06:22 -0400 (EDT) From: "Adrian T. Filipi-Martin" <atf3r@cs.virginia.edu> To: Zach Heilig <zach@blizzard.gaffaneys.com> Cc: Paul DuBois <dubois@primate.wisc.edu>, "Kevin P. Neal" <kpneal@pobox.com>, hackers@freebsd.org Subject: Re: void main Message-ID: <Pine.SUN.3.90.960904120040.3546D-100000@stretch.cs.Virginia.edu> In-Reply-To: <877mqa680r.fsf@freebsd.gaffaneys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4 Sep 1996, Zach Heilig wrote: > Paul DuBois <dubois@primate.wisc.edu> writes: > > > Um, so what exactly is wrong with void main, other than that you don't > > happen to like it? > > Strictly speaking, there are exactly two correct versions of main(): > > int main(void); > > and > > int main(int argc, char *argv[]); > What's wrong with this version? ;-) int main (int argc, char *argv[], char *env[]); Adrian adrian@virginia.edu ---->>>>| Support your local programmer, System Administrator --->>>| STOP Software Patent Abuses NOW! NVL, NIIMS and Telemedicine Labs -->>| For an application and information Member: League for Programming Freedom ->| see: http://www.lpf.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.90.960904120040.3546D-100000>