Re: Integer types
- From: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
- Date: Sat, 31 Dec 2005 11:55:06 +0200
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/
- Follow-Ups:
- Re: Integer types
- From: David Woodhouse
- Re: Integer types
- References:
- Integer types
- From: Jeff Sipek
- Integer types
- Prev by Date: Re: libata support for JMicron JMB360 ?
- Next by Date: Re: [PATCH 1/9] clockpro-nonresident.patch
- Previous by thread: Integer types
- Next by thread: Re: Integer types
- Index(es):