Subject: Re: CVS commit: src/sys/compat/linux/common
To: Jason Thorpe <thorpej@shagadelic.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 02/24/2005 14:02:32
On Feb 24, 10:22am, thorpej@shagadelic.org (Jason Thorpe) wrote:
-- Subject: Re: CVS commit: src/sys/compat/linux/common
|
| On Feb 24, 2005, at 8:58 AM, Christos Zoulas wrote:
|
| > Maybe "length" instead of "count" i.e. __arraylength()
| > And it probably belongs in stddef.h where offsetof() is defined.
|
| But it's counting the number of elements in the array.
I was thinking more in terms of the:
double [] array; array.length in java
| Why stddef.h? It's not a standards-defined macro. Or, should we also
| put __min() and __max() in stddef.h? (That certainly would not bother
| me one bit.)
Well, it might become standard and since it has __ in front of it it
does not pollute the namespace now.
christos