Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2001 12:38:42 -0500
From:      Michael Price <mprice@atl.lmco.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/usr.bin/lam lam.c
Message-ID:  <20010208123842.B4074@atl.lmco.com>
In-Reply-To: <Pine.BSF.4.21.0102090302160.7748-100000@besplex.bde.org>; from bde@zeta.org.au on Fri, Feb 09, 2001 at 03:13:28AM %2B1100
References:  <200102080649.f186n9C50045@gratis.grondar.za> <Pine.BSF.4.21.0102090302160.7748-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 09, 2001 at 03:13:28AM +1100, Bruce Evans wrote:
> > Spaces after function names is not good, I agree, and the **argv -->
> > *argv[] thing should happen.
> 
> 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[].

From a ISO C standard point of view, both 

  int main(int argc, char** argv)

and
  
  int main(int argc, char* argv[])
  
are just fine. This is purely a question of style. There is no ISO C issue.


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?20010208123842.B4074>