Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Feb 2001 20:11:53 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Matt Dillon <dillon@earth.backplane.com>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, 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:  <200102090411.f194BrU05440@mobile.wemm.org>
In-Reply-To: <200102090300.f1930KJ19028@earth.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Matt Dillon wrote:
> :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

And it is your fault that I picked up the ac, **av habit too :-).

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5



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?200102090411.f194BrU05440>