Date: Tue, 13 Jan 1998 22:39:23 +0000 From: Brian Somers <brian@Awfulhak.org> To: Darren Reed <avalon@coombs.anu.edu.au> Cc: tlambert@primenet.com (Terry Lambert), brian@Awfulhak.org, freebsd-hackers@FreeBSD.ORG Subject: Re: New typedefs in sys/types.h Message-ID: <199801132239.WAA10230@awfulhak.org> In-Reply-To: Your message of "Tue, 13 Jan 1998 12:56:07 %2B1100." <199801130158.RAA08540@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > i believe i goes like... > > > > > > long = 64 bits > > > int = 32 bits > > > > This is, of course, just the bogosity I was trying to avoid. > > Well, FWIW, apparently Digital Unix has int = 32 and long = 64. As does OpenBSD/Alpha, and I believe NetBSD/Alpha. Nobody's been brave/stupid enough to make sizeof(int) != 4 yet ! And of course, the `other' argument is that we need new format types for the printf/scanf family. Otherwise we have to cast any type of a specific size (say int32_t) to a (long long) just to be sure :-| -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801132239.WAA10230>