From owner-freebsd-hackers Wed Sep 4 09:15:43 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA19115 for hackers-outgoing; Wed, 4 Sep 1996 09:15:43 -0700 (PDT) Received: from virginia.edu (mars.itc.Virginia.EDU [128.143.2.9]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA19110 for ; Wed, 4 Sep 1996 09:15:39 -0700 (PDT) Received: from mail.cs.virginia.edu by mail.virginia.edu id aa23710; 4 Sep 96 12:06 EDT Received: from stretch.cs.Virginia.edu (atf3r@stretch-fo.cs.Virginia.EDU [128.143.136.14]) by archive.cs.Virginia.EDU (8.7.5/8.7.3) with SMTP id MAA11708; Wed, 4 Sep 1996 12:06:23 -0400 (EDT) Received: by stretch.cs.Virginia.edu (4.1/SMI-2.0) id AA05088; Wed, 4 Sep 96 12:06:22 EDT Date: Wed, 4 Sep 1996 12:06:22 -0400 (EDT) From: "Adrian T. Filipi-Martin" Reply-To: adrian@virginia.edu To: Zach Heilig Cc: Paul DuBois , "Kevin P. Neal" , hackers@freebsd.org Subject: Re: void main In-Reply-To: <877mqa680r.fsf@freebsd.gaffaneys.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On 4 Sep 1996, Zach Heilig wrote: > Paul DuBois 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/