From owner-freebsd-hackers Sat May 31 02:01:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA14107 for hackers-outgoing; Sat, 31 May 1997 02:01:25 -0700 (PDT) Received: from pahtoh.cwu.edu (root@pahtoh.cwu.edu [198.104.65.27]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA14102 for ; Sat, 31 May 1997 02:01:21 -0700 (PDT) Received: from opus.cts.cwu.edu (skynyrd@opus.cts.cwu.edu [198.104.92.71]) by pahtoh.cwu.edu (8.8.5/8.8.5) with ESMTP id CAA06411; Sat, 31 May 1997 02:01:17 -0700 (PDT) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.5/8.8.5) with SMTP id CAA01533; Sat, 31 May 1997 02:01:16 -0700 (PDT) Date: Sat, 31 May 1997 02:01:16 -0700 (PDT) From: Chris Timmons To: "David S. Miller" cc: joerg_wunsch@uriah.heep.sax.de, hackers@FreeBSD.ORG, un_x@anchorage.net Subject: Re: bcc vs cc/gcc (float) In-Reply-To: <199705310804.EAA00272@jenolan.caipgeneral> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Apparantly ISO C allows you to declare with either 0 or 2 parameters (i.e. no environment.) (This according to Harbison/Steele 4th ed.) On Sat, 31 May 1997, David S. Miller wrote: > Date: Sat, 31 May 1997 09:28:37 +0200 > From: j@uriah.heep.sax.de (J Wunsch) > > The only valid declarations of main() are: > > int main(int, char **) > int main(void) > > I thought ANSI C allowed > > int main(int argc, char **argv, char **envp) > > I could be mistaken... >