In message <Pine.LNX.4.60.0410081930510.3440 at localhost.localdomain> you wrote: > > oh, sure, if you know the length, it's easy. and who wants to count > those bytes? not me. that's why i long ago dropped the idea of > writing a function.
You mean it is more difficult to use "sizeof(foo)" as a parameter to a function than inside one of your macros? Wow. You see me surprised. I give up here. Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Of all the things I've lost, I miss my mind the most.