From owner-freebsd-hackers Tue Jan 13 18:50:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA23516 for hackers-outgoing; Tue, 13 Jan 1998 18:50:37 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA12669 for ; Tue, 13 Jan 1998 17:19:48 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id WAA10230; Tue, 13 Jan 1998 22:39:24 GMT (envelope-from brian@Awfulhak.org) Message-Id: <199801132239.WAA10230@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Darren Reed cc: tlambert@primenet.com (Terry Lambert), brian@Awfulhak.org, freebsd-hackers@FreeBSD.ORG Subject: Re: New typedefs in sys/types.h In-reply-to: Your message of "Tue, 13 Jan 1998 12:56:07 +1100." <199801130158.RAA08540@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 Jan 1998 22:39:23 +0000 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > > > 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 , , Don't _EVER_ lose your sense of humour....