Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2001 19:00:20 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Bruce Evans <bde@zeta.org.au>, 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:  <200102090300.f1930KJ19028@earth.backplane.com>
References:  <Pine.BSF.4.21.0102090302160.7748-100000@besplex.bde.org> <xzplmrgftv6.fsf@flood.ping.uio.no>

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

    I stopped using argc and *argv[] the day I switched to ac and **av.  I
    got tired of typing it in every time I wrote a little program :-)

						-Matt



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?200102090300.f1930KJ19028>