lkml.org 
[lkml]   [2005]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Integer types
    On 12/31/05, Jeff Sipek <jeffpc@optonline.net> 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-12-31 10:58    [W:0.039 / U:36.072 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site