Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!decvax!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: programming challenge (silly) Message-ID: <12145@haddock.ima.isc.com> Date: 23 Mar 89 18:07:30 GMT References: <37433@think.UUCP> <4412@ingr.com> <1859@se-sd.sandiego.ncr.com> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 10 In article <1859@se-sd.sandiego.ncr.com> rns@se-sd.sandiego.NCR.COM (Rick Schubert(AEP)) writes: >A value [for argc] of 0 indicates that the program name is not available. >This is allowed by the soon-to-be ANSI Standard. Actually, the sentence that includes "program name is not available" in the pANS refers to the case argc > 0 && argv[0] == "". It's true that the pANS also allows argc == 0 && argv[0] == NULL, but it doesn't say what this is intended to mean. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint