Skip site navigation (1)Skip section navigation (2)
Date:      09 Feb 2001 03:55:09 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Mark Murray <mark@grondar.za>, Mike Heffner <mikeh@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/lam lam.c
Message-ID:  <xzplmrgftv6.fsf@flood.ping.uio.no>
In-Reply-To: Bruce Evans's message of "Fri, 9 Feb 2001 03:13:28 %2B1100 (EST)"
References:  <Pine.BSF.4.21.0102090302160.7748-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans <bde@zeta.org.au> writes:
> I hope you mean backing out of the *argv[] -> **argv thing.  I normally
> use **argv, but both style(9) and the ISO C standard use *argv[].

...which is totally academic, since as you very well know, arrays
decay to pointers when passed as arguments in function calls, and
foo[] decays to *foo in function declarations and definitions. No
ISO-compliant compiler will differentiate between the two. I use
*argv[] myself, but only out of a sense of tradition.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzplmrgftv6.fsf>