lkml.org 
[lkml]   [2003]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [OT] sizeof C types ...
    On Mon, Aug 25, 2003 at 08:27:21PM +0100, Christoph Hellwig wrote:
    > > char,
    >
    > 8 bits
    >
    > > short,
    >
    > 16 bits
    >
    > > int,
    >
    > 32 bits
    >
    > > long,
    >
    > either 32 or 64 bits
    >
    > > long int,
    >
    > dito. long is just the short form of long int
    >
    > > long long, ...
    >
    > 64 bits

    thanks, almost figured that, but I'm looking for
    a tabular info where the different architectures
    are present like the folowing:

    i386 | ia64 | alpha | sparc | wossname ...
    -----------+-------+------+-------+-------+-------------------
    char | 8 | | | |
    short | 16 | | | |
    int | 32 | | | |
    long | 32 | | | |
    long long | 64 | | | |

    best,
    Herbert

    > -
    > 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/
    -
    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-03-22 13:48    [W:0.023 / U:0.016 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site