Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Oct 2011 00:30:37 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        hackers@freebsd.org
Subject:   sizeof(size_t) and other "semantic" types on 32 bit systems?
Message-ID:  <362958423.20111001003037@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
Hello, Hackers.

  I was surprised, when I discover that size_t are 32-bit wide on
 32-bit (i386) system. Which "semantic" type should I use, for
 example, for storing GEOM size in bytes in system-independent way? I
 could use "uint64_t", of course, but I don't like this solution, as
 it very low-level (ok, not so low-level as "unsigned long long", to
 be honest).

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?362958423.20111001003037>