Re: Integer types

From: Pekka Enberg
Date: Sat Dec 31 2005 - 04:54:16 EST


On 12/31/05, Jeff Sipek <jeffpc@xxxxxxxxxxxxx> wrote:
> What's the prefered integer type for kernel code?
>
> * u8, u16, ...
> * uint8_t, uint16_t, ...
> * u_int8_t, t_int16_t, ...

>From the above list, the first ones. See
http://article.gmane.org/gmane.linux.kernel/259313. Please note that
there's also __le32 and __be32 for variables that have fixed byte
ordering.

Pekka
-
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/