Re: seperator error in __mask_snprintf_len

From: Joe Korty
Date: Thu Jan 08 2004 - 18:01:43 EST


> > ==> However, _within_ each word, I suspect that I have the bytes arse
> > backwards on a big endian machine. The underlying snprintf("%x") and
> > strtoul() routines that I call will presume that the byte order of the
> > referenced u32 binary word is native (big on big endian). Not good.
>
> Why do you have to reference them as u32? Why can't you use unsigned
> long instead? That should Just Work.

I believe he wants the commas to group the digits by at most eight
irrespective of architecture. Which seems reasonable.

Joe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/