Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!caip!princeton!allegra!alice!ark From: ark@alice.UucP (Andrew Koenig) Newsgroups: net.lang.c Subject: Re: What's wrong with printf() , exit() ? (oops) Message-ID: <5470@alice.uUCp> Date: Sat, 17-May-86 00:22:37 EDT Article-I.D.: alice.5470 Posted: Sat May 17 00:22:37 1986 Date-Received: Mon, 19-May-86 01:58:13 EDT References: <118@danews.UUCP> Organization: Bell Labs, Murray Hill Lines: 13 > Oops. I mistakenly believed exit and return were both reserved words > in C but only return is. There may be compilers that won't accept it > but they would be wrong. > > printf("usage: foo bar\n") , return 1 ; > > seems reasonably "within C's style". Comments ? return isn't an expression. You can't write printf("usage: foo bar\n") , if (!fflag) exit(1); either.