programming challenge (silly)

Karl Heuer karl at haddock.ima.isc.com
Fri Mar 24 04:07:30 AEST 1989


In article <1859 at se-sd.sandiego.ncr.com> rns at 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 at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list