Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/compat/linux/common




On Feb 24, 2005, at 3:17 PM, David Young wrote:

On Thu, Feb 24, 2005 at 07:56:23PM +0000, David Laight wrote:
Maybe "length" instead of "count" i.e. __arraylength()
And it probably belongs in stddef.h where offsetof() is defined.

IMHO both __arraylength() and __arraycount() have far too many letters in them!
I've always used the more succint nelem(), maybe sometimes NELEM().

Agreed.  I withdraw __arraycount().  More than one person has voiced
concerns about the namespace.  Shall we make it __nelem() ?

namespace is deald with by __.  I still vote for __arraycount().

-- thorpej




Home | Main Index | Thread Index | Old Index