> 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(). David -- David Laight: david@l8s.co.uk