delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/12/03/11:16:00

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Sun, 3 Dec 2006 11:15:26 -0500
Message-Id: <200612031615.kB3GFQhZ016490@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <7705c9030612022332l285918ehedb61a2bb4a233bc@mail.gmail.com>
(blairdude AT gmail DOT com)
Subject: Re: string.h -- memccpy() prototype uses "int c, size_t n" w/o leading underscores
References: <1165096766 DOT 030159 DOT 105280 AT f1g2000cwa DOT googlegroups DOT com>
<4572251A DOT 680BFA98 AT yahoo DOT com>
<200612030136 DOT kB31aPZl029891 AT envy DOT delorie DOT com>
<1165113846 DOT 188039 DOT 194250 AT j72g2000cwa DOT googlegroups DOT com> <7705c9030612022332l285918ehedb61a2bb4a233bc AT mail DOT gmail DOT com>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> I think that most compilers accept nameless function parameters in
> declarations.  Maybe this would be even more appropriate than using
> underscores?  Or could someone enlighten me otherwise?

The names serve as a sort of documentation.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019